View Single Post
Quote:
Originally Posted by MichaelK View Post
Hello, I have an OmniPlan where I have custom data attached to a task. Because I have a lot of data I want to search on that data.
The applescript library does have a function Lookup() for finding tasks through custom data.

You can also use a more general idiom of the form

Code:
tell application id "OPla"
	tell front document
		try
			set lstTasks to tasks where value of its custom data entry strKey contains strVal
		on error strMsg
			display alert strMsg
		end try
	end tell
end tell