-
(Difference between revisions)
(10 intermediate revisions not shown) Line 1: Line 1: == Convert iCal to Remind ==== Convert iCal to Remind ==- [http://jalcorn.net/public/ical2rem.pliCal2Rem]+ [[ical2rem.pl]]- Group all calendars you want to sync with Remind and publish them. Plug the url to the published .ics into the following command:+ [http://jalcorn.net/public/ical2rem.pl iCal2Rem at jalcorn.net]+ + Requires Developer Tools and Perl modules:+ + <pre>cpan -i iCal::Parser</pre>+ + Group all calendars you want to sync with Remind in iCal and publish them. Plug the url to the published .ics into the following command:<pre>curl http://homepage.mac.com/username/.calendars/toRemind.ics | ical2rem.pl --label "iCal2Reminder" >~/.ical2rem</pre><pre>curl http://homepage.mac.com/username/.calendars/toRemind.ics | ical2rem.pl --label "iCal2Reminder" >~/.ical2rem</pre>Line 9: Line 15: [http://mark.atwood.name/code/rem2ics/ Rem2ics][http://mark.atwood.name/code/rem2ics/ Rem2ics]+ + Turn on Personal Web Sharing in the Sharing pane of System Preferences so that you can get a valid URL to subscribe to. Will look something like+ + <pre>http://your-computer.local/~username/NameOfCalendar.ics</pre>+ + Subscribe to this calendar in iCal. Then run this command in terminal to sync the calendars.<pre>remind -s30 -irem2ics=1 ~/.reminders | TZ=US/Eastern rem2ics -do -norecur >/Users/username/Sites/Reminder2iCal.ics</pre><pre>remind -s30 -irem2ics=1 ~/.reminders | TZ=US/Eastern rem2ics -do -norecur >/Users/username/Sites/Reminder2iCal.ics</pre>- Subscribetothis calendar in iCal.+ It's a cheap alternative to Spanning Sync.- Turn on Personal Web Sharing in the Sharing paneofSystem Preferences so thatyoucan get a valid URL to subscribeto.Willlook something like <pre>http://grahams-computer.local/~grahamenglish/NameOfCalendar.ics</pre>.Cheap alternativetoSpanning Sync.+ '''Tips'''+ + Avoid duplication of events when you sync from iCal to Remind and back again by wrapping your .ical2rem include file with an IF statement in your .reminders file. Your .reminders file would look something like this:+ + <pre>IF defined("rem2ics")+ include /Users/username/.ical2rem+ ENDIF+ include /Users/username/other/remind/include/.file1+ include /Users/username/other/remind/include/.file2+ </pre>+ + Then remove -irem2ics=1 from your command like so:+ + <pre>remind -s30 ~/.reminders | TZ=US/Eastern rem2ics -do -norecur >/Users/username/Sites/Reminder2iCal.ics</pre>+ + Now you can get all of your iCal events into Remind and onto your desktop with an app like Geek Tool using the following commands:+ + Weekly calendar:+ <pre>/usr/local/bin/remind -irem2ics=1 -c+ ~/.reminders</pre>+ + Daily list:+ <pre>/usr/local/bin/remind -irem2ics=1 ~/.reminders</pre>+ + But without all of your iCal events getting synced back into iCal from your .reminders file.+ + == Growl notifications of timed events ==+ + Install growlnotify from the [http://growl.info Growl] site. The forum is a good place to search for help. Wasn't too difficult.+ + Run this command after you boot your computer or set it as a login item. I haven't figured out how to do that successfully yet.+ + <pre>nohup remind -z -k'/usr/local/bin/growlnotify -n remind -a iCal -t Reminder -s -m %s &' ~/.reminders &</pre>== Quicksilver ==== Quicksilver ==[[Quicksilver Append to Remind]][[Quicksilver Append to Remind]]+ + [[category:Apple]]+ [[category:Mac]]+ [[category:Quicksilver]]+ [[category:AppleScript]]+ [[category:Automation]]+ [[category:Remind]]+ [[category:GTD]]+ [[category:Growl]]+ [[category:iCal]]+ [[category:Perl]]+ [[category:Developer Tools]]+ [[category:System Preferences]]+ [[category:GeekTool]]Current revision as of 02:06, 17 March 2010
Contents
Convert iCal to Remind
Requires Developer Tools and Perl modules:
cpan -i iCal::Parser
Group all calendars you want to sync with Remind in iCal and publish them. Plug the url to the published .ics into the following command:
curl http://homepage.mac.com/username/.calendars/toRemind.ics | ical2rem.pl --label "iCal2Reminder" >~/.ical2rem
Convert Remind to iCal
Turn on Personal Web Sharing in the Sharing pane of System Preferences so that you can get a valid URL to subscribe to. Will look something like
http://your-computer.local/~username/NameOfCalendar.ics
Subscribe to this calendar in iCal. Then run this command in terminal to sync the calendars.
remind -s30 -irem2ics=1 ~/.reminders | TZ=US/Eastern rem2ics -do -norecur >/Users/username/Sites/Reminder2iCal.ics
It's a cheap alternative to Spanning Sync.
Tips
Avoid duplication of events when you sync from iCal to Remind and back again by wrapping your .ical2rem include file with an IF statement in your .reminders file. Your .reminders file would look something like this:
IF defined("rem2ics") include /Users/username/.ical2rem ENDIF include /Users/username/other/remind/include/.file1 include /Users/username/other/remind/include/.file2
Then remove -irem2ics=1 from your command like so:
remind -s30 ~/.reminders | TZ=US/Eastern rem2ics -do -norecur >/Users/username/Sites/Reminder2iCal.ics
Now you can get all of your iCal events into Remind and onto your desktop with an app like Geek Tool using the following commands:
Weekly calendar:
/usr/local/bin/remind -irem2ics=1 -c+ ~/.reminders
Daily list:
/usr/local/bin/remind -irem2ics=1 ~/.reminders
But without all of your iCal events getting synced back into iCal from your .reminders file.
Growl notifications of timed events
Install growlnotify from the Growl site. The forum is a good place to search for help. Wasn't too difficult.
Run this command after you boot your computer or set it as a login item. I haven't figured out how to do that successfully yet.
nohup remind -z -k'/usr/local/bin/growlnotify -n remind -a iCal -t Reminder -s -m %s &' ~/.reminders &
Quicksilver
-
Meta
Categories: Apple | Mac | Quicksilver | AppleScript | Automation | Remind | GTD | Growl | ICal | Perl | Developer Tools | System Preferences | GeekTool