The Omni Group
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!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dead stoopid AppleScript question: finding the tell target Thread Tools Search this Thread Display Modes
Finding that my OmniOutliner AppleScript chops aren't translating as I'd like. Having trouble saying, "Give me the text of the selected task in OmniFocus". Tried examining a Dan Byler script, but his document tell targets are erroring here. Can someone lend me a hand?
tell application "OmniFocus"

-- get the current selected task
set MyWindow to front window
set MyContent to content of MyWindow
set MySelection to a reference to selected trees of MyContent
set aTask to value of first item in MySelection

name of aTask
--note of aTask
end tell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript for finding an OmniFocus project quickly RobTrew OmniFocus Extras 33 2013-09-29 09:57 PM
AppleScript question sputnik OmniFocus Extras 21 2009-11-02 02:47 PM
Applescript question for Omni Group pvonk OmniFocus 1 for Mac 3 2009-10-06 10:16 AM
Help finding iCal applescript DoktorMarkus iCal Sync 2 2008-07-08 01:29 PM
Omniweb Applescript Question russophile OmniWeb General 4 2008-03-14 01:56 PM

All times are GMT -8. The time now is 04:45 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.