Re: AppleScriptObjC Problem?
Re: AppleScriptObjC Problem?
- Subject: Re: AppleScriptObjC Problem?
- From: Shane Stanley <email@hidden>
- Date: Thu, 12 Nov 2015 09:15:59 +1100
- X_v_e_cd: 3780c6b58aa32c3bd8552148d2f69bd7
- X_v_r_cd: cbd0cb6d5dc6b479ebec476755481520
On 12 Nov 2015, at 3:15 AM, Dave <email@hidden> wrote:
> 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
If theMessageIDString is an NSString passed from Objective-C, it will still be an NSString -- you need to convert it to text first. Try "as text as number".
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden