Dead stoopid AppleScript question: finding the tell target
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 |
All times are GMT -8. The time now is 07:37 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.