#Description This AppleScript will automatically sync using a predefined Favorite and all enabled Skip Rules. I use this with Codekit to autosync files when they are processed.
##Instructions
- Line 2 needs to be updated with the name of the Favorite in question.
- For best results, set the local/remote paths directly in your favorite. If you don't, you'll need to update lines 7 and 8.
##Codekit Instructions
- Follow the above instructions to setup the applescript.
- Open your project and add a new hook
- Select the type: AppleScript for the hook and paste the script you edited into the hook field.
- For the hook condition, set the hook to run when files are processed with the name of your project folder from Disk Root.
Added line 12 to insure the new document is closed when completed