How did you know about ParseStr?
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 |
How to clip and parse | Thread Tools | Search this Thread | Display Modes |
|
Member
2011-09-08, 10:59 AM
How did you know about ParseStr?
Post 1
|
Member
2011-09-08, 11:24 AM
I knew about it because it was my own invention :-)
It's just the variable name I chose to hold the string obtained from the clipboard, nothing special about it. "parse tasks" is the Applescript verb that does the work. That I knew about from reading the OmniFocus Applescript dictionary in the Applescript Editor app and looking at the Applescript buried inside the OmniFocus app that gets run from Mail if you're using the email processing feature.
Post 2
|
Member
2011-09-08, 01:21 PM
Very clever. I didn't know how to look inside the OF app and find how the Mail input was parsed. Anyway, thanks again. You saved me endless time and toil. Now I can get on with my work.
ciao, M.
Post 3
|
Member
2011-09-08, 01:59 PM
Applications are actually directories full of files (called packages), with a bit set that tells the Finder to put on the illusion that it is just one item. If you want to look inside one, select it, either right-click or control-click, and choose Show Package Contents from the popup menu that appears. Or you can choose Show Package Contents from the gear menu in the Finder toolbar. A new window will open showing you the contents of the package.
Some of the Omni document formats are also packages. If you might need to change only parts of a file, using a package can be much more efficient if the file is large. OmniFocus stores its database as a package consisting of 1 file containing the bulk of the data plus a small file for each additional change that hasn't been compacted into the big chunk. OmniOutliner and OmniGraffle use packages so that you can easily attach files to documents by just copying the data into the directory instead having to create an entirely new file. It's interesting to spend some time rummaging through all of the folders in an application, seeing all the pieces that are involved — makes you appreciate how much work was done on your behalf in exchange for your cash :-) The copy of OmniFocus I just checked has over 3,500 files in it! Of course, having language localizations for several languages makes that count climb rapidly.
Post 4
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parse tasks with transport text... | t.h.x. | OmniFocus Extras | 2 | 2011-02-09 05:34 PM |
Escaping special characters in parse task with transport text? | jcater | OmniFocus Extras | 0 | 2008-01-17 08:10 PM |
Build 96640 breaks scripts using "Parse Tasks" | RobTrew | OmniFocus Extras | 1 | 2008-01-02 06:42 PM |
Parse & paste Lotus Notes Doclink into OmniFocus action note | WillR | OmniFocus Extras | 6 | 2007-12-10 12:18 PM |
Parse PDF? | ToddS | OmniGraffle General | 5 | 2007-02-16 11:15 PM |