PDA

View Full Version : Automator - Create Alias Broken?




rickpny
Dec 1, 2007, 03:55 PM
Not sure if this is user error, or if it is broken... I am using Leopard.

I am trying to create a simple workflow which will take selected files and create an alias in a "Current Work" folder. This requires two actions:
- Get Selected Items
- New Aliases (changing "Desktop" to "Current Work")

When I run this in the UI it works fine.

When I save it and try to execute it, it doesn't work. When I go back to the script, it has reverted the New Aliases location to "Desktop". I also find this happens if I simply save it, close it, and reopen it.

Anyone else see this behavior?

Thanks in advance... -Rick



rickpny
Dec 2, 2007, 11:04 AM
Although I'm still convinced Automator is broken, I was able to put together a simple Applescript that would do the same thing. Once I bound it to a Quicksilver hotkey I was even happier:

For anyone interested, my script is:
tell application "Finder"
copy selection to theSelected
repeat with anItem in theSelected
make new alias to anItem at folder "Current Work" of folder "Documents" of folder "rickp" of folder "Users" of startup disk
end repeat
end tell