Dave wrote:
> I’m running the following Script from a Cocoa App using NSAppleScript:
For reference, some quick how-tos on calling AppleScript from ObjC/Python:
* using NSAppleScript class:
http://appscript.sourceforge.net/nsapplescript.html
* using AppleScriptObjC framework:
http://appscrip
Have you tried executing the script?
// Execute the script, compiling it first if it is not already compiled.
Return the result of executing the script, or nil and a pointer to an error
information dictionary for failure.
- (NSAppleEventDescriptor *)executeAndReturnError:(NSDictionary
**)errorInf
Hi,
I’m running the following Script from a Cocoa App using NSAppleScript:
set myWindowName to "Test 2"
set myNewSubject to "[High] Test 2"
tell application id "com.microsoft.Outlook"
activate
save front window
set myMessageList to current messages
set myMessage to