I hate to take up space with such a simple question, but ... how do I link to, attach or embed document files into Omniplan? I don't seem to be able to do it within task notes. thanks in advance.
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 | Search | Today's Posts | Mark Forums Read |
Linking or attaching documents | Thread Tools | Search this Thread | Display Modes |
Member
2007-01-18, 11:15 AM
I hate to take up space with such a simple question, but ... how do I link to, attach or embed document files into Omniplan? I don't seem to be able to do it within task notes. thanks in advance.
Post 1
|
Sorry, that feature isn't there yet. We hope to implement it soonish, but I cannot make any guarantees.
In the meantime, you could add a custom data column listing the path to a file, and then write an AppleScript (which can be added to your toolbar) which looks at the custom data column and opens the file for you. A little clumsy, but will work if you need file attachments *now*.
Post 2
|
Member
2007-01-18, 04:31 PM
thanks for the quick reply. Does anyone have such a script? thanks!
Post 3
|
SETUP:
Step 1: Add a custom data column to your OmniPlan task inspector called "File" Step 2: Copy the script below into a text file, and call it something like "Open File.scpt" Step 3: Put that script file into ~/Library/Scripts/Applications/OmniPlan Step 4: Open the "Customize Toolbar" button in OmniPlan, and drag the script up into your toolbar somewhere. Step 5: Add file paths to the File field of your tasks. NOTE: This script has no error handling in it. If you don't type a path exactly right, when you go to open a file, you'll either get a vague message that Finder had an error, or the script will just do nothing. The script expects paths like "/Applications/OmniOutliner.app" or "/Volumes/Tiger/Users/myName/Desktop/example.pdf". SCRIPT: Code:
tell application "OmniPlan" set taskList to selected tasks of front window repeat with t in taskList set customData to custom data of t set fileToOpen to (|File| of customData as POSIX file) tell application "Finder" open fileToOpen end tell end repeat end tell
Post 4
|
PS: Please feel free to post improvements to this script, especially error handling, or improved flexibility in path parsing.
Post 5
|
Member
2007-01-25, 05:06 PM
Is there any documentation on how to drive OmniPlan from AppleScript? I would like to automate some tasks and I am wondering how much functionality is exposed and where I can learn about how to script against it.
Thanks!
Post 6
|
Probably the easiest way to get started is to take a look at the OmniPlan AppleScript dictionary itself, either in Script Editor, ScriptDebugger, or some other AppleScript development app. We've integrated basic documentation right in there, rather than writing a whole separate document. If you launch Script Editor (in /Applications/AppleScript by default), it should show you a library window. If OmniPlan is on the list, just double-click it. Otherwise, click the '+' and browse to wherever you keep OmniPlan on your computer.
That'll give you a complete list of the currently available classes, their properties, etc., etc.
Post 7
|
Thread Tools | Search this Thread |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
linking documents | hotwheels22 | Applying OmniFocus | 8 | 2011-03-23 06:39 AM |
Attaching Emails to Projects | CXA | OmniFocus for iPad | 2 | 2010-09-13 11:35 AM |
Linking to Devonthink documents | Declan | OmniFocus 1 for Mac | 2 | 2009-04-11 04:40 AM |
Question about attaching files | anon | OmniFocus 1 for Mac | 0 | 2008-02-07 10:14 AM |
Attaching files and URLs | vocaro | OmniFocus 1 for Mac | 17 | 2007-08-20 05:28 PM |