Technocrank

Icon

It Done Broke.

OSX Leopard Folder Actions

I have a little Folder Action set up on a “dropbox” type folder that automatically adds a given file (usually MP3s) to my iTunes library.  I created a dumb-as-bricks Automator workflow and saved it as a plug-in of type Folder Action.  Worked flawlessly in 10.4.

With OSX 10.5, for some reason it runs the action but doesn’t actually execute it properly.  I found this little article which provides a workaround but doesn’t actually fix anything.  You have to edit the AppleScript file from something like this:

on adding folder items to this_folder after receiving added_items
    tell application "Macintosh HD:Users:MyUserName:Library:Workflows:Applications:Folder Actions:<em>Name Of My Workflow</em>.app"
      open added_items
    end tell
end adding folder items to

to this:

on adding folder items to this_folder after receiving added_items
    tell application "Finder"
open added_items using alias "Macintosh HD:Users:MyUserName:Library:Workflows:Applications:Folder Actions:<em>Name Of My Workflow</em>.app"
    end tell
end adding folder items to

…essentially getting Finder to do what you’ve already done.

Be Sociable, Share!

    Category: Desktop, Troubleshooting

    Tagged: , , , , ,

    Leave a Reply

     

    Twitter: crankietech

    RSS This Day In Tech (From Wired)

    • An error has occurred, which probably means the feed is down. Try again later.