Return to Snippet

Revision: 41383
at February 17, 2011 04:25 by brandonjp


Initial Code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>com.domain.myapplescript</string>
<key>Program</key>
<string>/usr/bin/osascript</string>
<key>ProgramArguments</key>
<array>
<string>osascript</string>
<string>/Library/Scripts/myapplescript/myapplescript.scpt</string>
</array>
<key>WatchPaths</key>
<array>
<string>/Volumes/path/to/folder/to/watch</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>onDemand</key>
<true/>
</dict>
</plist>

Initial URL
http://bit.ly/fW9ExM

Initial Description
Stolen from  stetho -- All thanks to him  --   Now, about your folder actions… http://bit.ly/fW9ExM

Initial Title
Apple Mac OSX Plist for better Folder Actions with launchd, launch agents, launchctl

Initial Tags
mac, osx

Initial Language
AppleScript