Quote:
Originally Posted by Lizard
Hope you don't mind that I've relocated it for you.
|
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!
|
|
FAQ | Members List | Calendar | Today's Posts | Search |
get-omnifocus.sh version 1.0 released | Thread Tools | Search this Thread | Display Modes |
Quote:
Post 11
|
Member
2007-08-01, 09:09 AM
Nicely done. This is quite useful, and it's actually astonishingly nicely readable Bash.
Post 12
|
thanks. 10+ years of writing shell scripts has taught me that in 6 months when I go back to read the script I will have no idea how it works unless I leave a lot of breadcrumbs. If someone else can learn from it or spot mistakes, all the better.
Post 13
|
Timothy,
It appears that the OF bundle format changed in the last couple of days. I tweaked the script by replacing these lines: Code:
CURRENT_BUILD=`fgrep -A1 OZBuildRevision "$INSTALLED_APP/Contents/Info.plist" |\ tr -d '\012'|\ sed 's#.*<string>##g; s#</string>##g'` Code:
CURRENT_BUILD=`egrep '^Revision' "$INSTALLED_APP/Contents/Resources/Versions.txt" |\ tr -d '\012'|\ sed 's#Revision: ##g'`
__________________
Cheers, Curt Last edited by curt.clifton; 2007-08-03 at 02:01 AM.. Reason: Fixed bug
Post 14
|
Quote:
Quote:
Thanks curt
Post 15
|
Member
2007-08-03, 03:59 AM
I wrote a little ruby script do to nearly the same. I polished it a little bit, use at your own risk: http://siezi.de/deeplinks/misc/OmniFocusDownloader.zip
Post 16
|
Well now they've changed the web page format which broke the script.
I unbroke it again. http://tj.tntluoma.com/files/get-omnifocus.sh Dated 2007-08-06
Post 17
|
Very nice script indeed.
Once the script was made executable on my Mac, instead of moving it to ~/bin, I placed it in ~/Library/Script. This way it’s available right from the AppleScript menu in the Finder. The only thing is that I lose the feedback I was getting in the Terminal window (but the script works like a charm from the AppleScript menu :-) ).
Post 18
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OmniFocus 1.10.4 for Mac released | Lizard | OmniFocus 1 for Mac | 0 | 2012-10-26 09:10 AM |
OmniFocus 1.10.2 released | Lizard | OmniFocus 1 for Mac | 0 | 2012-05-30 11:35 AM |
OmniFocus 1.5 released | Lizard | OmniFocus for iPad | 0 | 2012-03-16 08:50 AM |
OmniFocus 1.10 released | Lizard | OmniFocus 1 for Mac | 0 | 2012-03-16 08:44 AM |
OmniFocus released! (sort of) | ejacob | OmniFocus 1 for Mac | 2 | 2007-05-04 09:59 PM |