rashwell
2008-02-05, 06:39 PM
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?
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
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?
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