Created
January 9, 2014 03:54
-
-
Save nateswart/8329172 to your computer and use it in GitHub Desktop.
plist to run this AppleScript every minute via launchd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.nateofnine.FlaggedMailToReminders</string> | |
<key>Program</key> | |
<string>/usr/bin/osascript</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>osascript</string> | |
<string>/PATH_TO_YOUR_APPLESCRIPT/flagged_mail_to_reminders.scpt</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StartInterval</key> | |
<integer>60</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out, no need to use \ before spaces in the string element