Folder Action Applescript to move files

Discussion in 'Mac Programming' started by trushell, Sep 7, 2008.

  1. macrumors newbie

    Joined:
    Sep 3, 2008
    #1
    I am trying to find an applescript that I can set as a folder action that will move everything copied to the original folder into a new destination folder...

    I am hoping that I can use this to have iTunes copy movies into the itunes movie folder when I add them, then have the folder action automatically move them to a different folder. I hate having my movies folder lost in with my albums. (Plus I like to back them up separately)

    :confused:
     
  2. thread starter macrumors newbie

    Joined:
    Sep 3, 2008
    #2
    Update

    I am using:

    on adding folder items to this_folder after receiving added_items
    try
    tell application "Finder"
    move added_items to "Media HD:Movies"
    end tell
    end try
    end adding folder items to

    Which is working fine for moving files that I copy to the folder but it doesn't work for files that iTunes copies there....
     

Share This Page