/ Published in: AppleScript
                    
                                        
Stolen from  stetho -- All thanks to him  --   Now, about your folder actions… http://bit.ly/fW9ExM
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?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>
URL: http://bit.ly/fW9ExM
Comments
 Subscribe to comments
                    Subscribe to comments
                
                