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 1 for Mac
FAQ Members List Calendar Today's Posts

 
Weird Applescript Trouble Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
OF Running on two machines sharing a DB via a network Share.
One Machine is Leopard Server 10.5.1
One Machine is Macbook Pro Leopard 10.5.1

On both machines I setup an Entourage script I scrapped from elsewhere in the forums thanks to that author.

The challenge is with the activate applescript to bring the quick entry window forward. A snippet of the overall script is below. Its the same script on both machines on the Leopard Server the code works perfectly however on the Macbook pro I get a script error saying the activate piece of the tell for quick entry is missing a parameter?

Any experts out there that can spot what I am doing wrong?

Code:
tell application "OmniFocus"
			set theDoc to default document
			set theTask to theName
			set theNote to theContent
			tell quick entry
				set NewTask to make new inbox task with properties {name:theTask, note:theContent}
				tell the note of NewTask
					make new file attachment with properties {file name:theFileName, embedded:true}
				end tell
				activate
			end tell
		end tell
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
weird Context name change Msburdick OmniFocus 1 for Mac 3 2012-02-04 02:03 PM
Weird Formatting Issues? Please Help. rainavc OmniGraffle General 0 2011-11-28 07:52 AM
Weird issue with AppleScript and "open" function einarnn OmniGraffle General 10 2011-10-10 06:03 PM
Weird hyperlinks pacster OmniFocus 1 for Mac 4 2011-03-24 12:30 PM
Weird message in Console cerithom OmniWeb Bug Reports 2 2010-03-01 11:18 PM


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


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