Weird Applescript Trouble
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[/CODE] |
A simpler way of seeing the problem
The following works on Leopard Server 10.5.1 with OF
but gives an error missing parameter on activate on my Macbook Pro Leopard 10.5.1 Anyone know how to troubleshoot this? Is this worthy of a bug report email? [CODE] tell application "OmniFocus" tell quick entry activate end tell end tell [/CODE] |
works for me on Mac Pro 10.5.1
I'll give our OmniFocus/ApppleScript guru a heads-up on this thread, 'cause I'm not coming up with any ideas. |
One more thought -- make sure you're running the same version of Focus on both machines, and that both machines are using *that* version to parse the AppleScript.
|
I checked with one of our engineers on this. He says it's kinda Apple's fault, but there may be something we can do to work around it. Please send an email to our ninjas so that the bug gets properly filed.
|
All times are GMT -8. The time now is 01:51 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.