i created it, never mind thanks again for the scripts
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 |
Scripts to open project folders and notes files | Thread Tools | Search this Thread | Display Modes |
Member
2009-05-28, 08:42 AM
i created it, never mind thanks again for the scripts
Post 11
|
Guest
2009-06-04, 04:49 AM
A quick comment on these excellent scripts:
When applescripting OO3, using the idiom: "make new document" has the disadvantage that it bypasses the default template, serving up a raw "factory settings" OO3 file. If you wanted to create a new file based on the default (or some other) template you could adopt the idiom illustrated by the following snippet, which I have extracted from a current project: Code:
tell application "OmniOutliner Professional" activate tell application "Finder" set strTemplate to alias ((path to application support from user domain as string) & "OmniOutliner 3:Templates:" & "Default.oo3template") end tell if (exists strTemplate) then open strTemplate set oTmpDoc to front document else set oTmpDoc to make new document end if set strTempPath to strDocsPath & strFileName save oTmpDoc in strTempPath close oTmpDoc end tell
Post 12
|
Guest
2009-06-09, 05:16 AM
Quote:
http://forums.omnigroup.com/showthre...0931#post60931
Post 13
|
Member
2009-06-16, 09:11 AM
Thank you for these scripts. They are allowing me to stay work within OF for the things that need to be done there, while synchronizing my OF project info with the detail afforded by OO. Now, if only the OmniGroup would come out with OO for the iPhone! :)
Post 14
|
Member
2009-06-16, 09:39 AM
I've found a slight bug in the scripts, and not being familiar with Applescript, I'm not sure how to fix this.
For the line: set projectsFolderName to "Projects" -- name for main projects folder If I set the "Projects" value to something with a space in it, like: set projectsFolderName to "OmniFocus Projects" -- name for main projects folder It gets totally confused.
Post 15
|
Guest
2009-06-17, 02:13 PM
Quote:
File and folder names which include spaces can be handled in Applescript with the "quoted form of POSIX path" idiom.
Post 16
|
Guest
2009-06-24, 03:31 PM
In reponse to a query in another post, I have drafted an edit to jharrison's excellent script for opening project folders.
The edited version allows for the opening of context folders as well as project folders. RT Last edited by RobTrew; 2009-06-25 at 12:18 AM..
Post 17
|
Guest
2009-06-29, 02:40 PM
Quote:
The amended code is simply: Code:
if application id "com.cocoatech.PathFinder" is running then tell application id "com.cocoatech.PathFinder" open aliasFolder activate end tell else tell application id "com.apple.finder" open aliasFolder activate end tell end if You may prefer to select the Project/Context folder in the existing front window of Path Finder: Code:
tell application id "com.cocoatech.PathFinder" select aliasFolder activate end tell Last edited by RobTrew; 2009-06-29 at 11:30 PM..
Post 18
|
Member
2009-08-17, 02:01 PM
I'm having a problem with the Open Project Notes script. When I fire up the script on a project that doesn't have a notes file, it prompts me, opens a new OO document and creates an oo3 file in the project folder. However, it doesn't appear that the open OO document and the oo3 file are the same object. If I hit command-s to save the OO document, I don't get any errors, but it doesn't appear to actually be saving anywhere to disk. When I close the OO document, it asks me if I want to save the changes. If I do, it ends up saving the file in my home directory, rather than the project folder, which contains a blank oo3 file. Any idea what might be going on here?
Last edited by curiousstranger; 2009-08-17 at 02:24 PM..
Post 19
|
Guest
2009-08-18, 12:01 PM
Post 20
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How best to organise files and folders? | philrob | Omni Lounge | 4 | 2012-06-25 05:21 PM |
Will OmniPlan for iPad open Microsoft Project files? | amarsh | OmniPlan for iPad | 2 | 2012-06-07 10:41 AM |
Open Folder / Notes Scripts broken in Lion Full Screen Mode | nunez | OmniFocus 1 for Mac | 3 | 2011-10-06 02:42 PM |
Slow to Open OF and Open the Settings [fixed by reducing zip files] | GreenLorax | OmniFocus for iPhone | 26 | 2009-07-26 01:38 PM |
Scripts that add simple tags to the end of notes... | a11en | OmniFocus Extras | 9 | 2008-08-29 08:50 PM |