I have routines that I'd like to make universal: instead of the selected folders, I'd like to stick to the user current user ("~/") when describing folder paths..
So my question is, if I select a folder with "Get Specified Finder Items" in automator, that outputs a -non applescript- list like this: ("path/to/my/folder"), how can I replicate it with applescript. Note the round brackets instead of the braces!
First I simply wanted to use this:
on run
return {"~/path/to/my/folder/under/current/user"}
end run
And then I'd add the "Get Folder Contents" block..
Can anyone tell me why this wouldn't work? Thanks in advance!