Hi,
I am new to this Scripting and I am given the following work flow automation. Kindly help me for this.
- Users are copy some files to one folder.
- Then all the files/folders should be Stuffit to .sit file.
- then, it should automatically transferd to some other folder.
If you have any scripts like this, kinldy help me.
Thanks in advance.
Bye
Sam.
Browser: Internet Explorer
Operating System: Mac OS X (10.3.9)
Hi,
you could use a folder action like this
property destFolder : "MacHD:path:to:destination:folder:"
property deleteOriginals : false -- set to true to delete original files
on adding folder items to this_folder after receiving these_items
try
tell application "DropStuff"
stuff these_items format StuffIt delete originals deleteOriginals to (destFolder as alias)
end tell
end try
end adding folder items to
specify the path to the destination folder and the boolean value to delete or keep the original files,
save the script in (~)/Library/Scripts/Folder Action Scripts/, enable folder actions and attach the script to a folder.
Note: There could be a problem, if the hot folder is on a server and several users put files into the folder at the same time
Hi Stev,
Thanks, let me check with this and update.
Bye
Sam.