Okay so Im going to lay down the problem then explian what I have tried. Then hopefully get some cool responces.
So the problem is I have a external program that saves some files to the path blaa/blaa/movies the way in which it saves these movies is that it compreses the movies files into one file in that folder. EG puts the different compents into that folder then bundles them up then delates the orginals. The problem is the disc it is saving too doesnt have enough room for the movies it needs to store. Now I cant set the location of where to store the movies so I have to try route them somewhere. First of all when I tried making a alias to a folder on a different disk the program gave me a message saying it cant save to that file. So thinking of this I thought I would make a workflow where it gets the items in a folder then movies them to another location. I tested the work flow and it worked perfectly. So now the problem is getting this to be automated when ever a file is made in directory. So this is the script I came up with and attacheted vie folder actions but it doesnt work ??? WTF?? help?
on adding folder items to this_folder after receiving added_items
tell application "Macintosh HD:Users:UserName:Library:Workflows:Applications:Folder Actions:movieFile.app"
open added_items
end tell
end adding folder items to
So the problem is I have a external program that saves some files to the path blaa/blaa/movies the way in which it saves these movies is that it compreses the movies files into one file in that folder. EG puts the different compents into that folder then bundles them up then delates the orginals. The problem is the disc it is saving too doesnt have enough room for the movies it needs to store. Now I cant set the location of where to store the movies so I have to try route them somewhere. First of all when I tried making a alias to a folder on a different disk the program gave me a message saying it cant save to that file. So thinking of this I thought I would make a workflow where it gets the items in a folder then movies them to another location. I tested the work flow and it worked perfectly. So now the problem is getting this to be automated when ever a file is made in directory. So this is the script I came up with and attacheted vie folder actions but it doesnt work ??? WTF?? help?
on adding folder items to this_folder after receiving added_items
tell application "Macintosh HD:Users:UserName:Library:Workflows:Applications:Folder Actions:movieFile.app"
open added_items
end tell
end adding folder items to