Hi,
Iām using the AppleScript-ObjC Bridge to call an AppleScript from an XCode
Objective-C project. This is the handler I am calling:
on
getOutlookMessagePropertiesDictionaryWithMessageID:(theMessageIDString)
set myDictionary to the pMessageDictionary of me
set myMessageID to theMessageIDString as number
ā
ā Statements commented out for debugging
--
return myDictionary
end getOutlookMessagePropertiesDictionaryWithMessageID:
This is giving an error on the:
set myMessageID to theMessageIDString as number
I tried calling the handler from an AppleScript in the Script Editor and it
runs ok, but it fails in the App. If I comment this line out, it runs ok.
Any ideas on what could be causing it fail? I am passing an NSString into the
method and it definitely numeric at the log shows:
Printing description of theMessageIDString:
540
Thanks a lot
Dave
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]