Hi,
This works:
-- For this to work, there must be at least one folder with a folder action.
tell application "System Events" to set folderActionList to path of every folder action
choose from list folderActionList with empty selection allowed --> just to show HFS path list
set folderActionListPOSIX to {}
repeat with item_i in folderActionList
copy POSIX path of item_i to end of folderActionListPOSIX
end repeat
set folderActionList to folderActionListPOSIX
choose from list folderActionList with empty selection allowed --> This is the format I need
This one-line syntax doesn’t:
tell application "System Events" to set folderActionList to POSIX path of every folder action
Is there any one-line syntax that does work? I tried many but, probably not the right one
A clear “No” would be good as well