Re: AppleScriptObjC framework error?
Re: AppleScriptObjC framework error?
- Subject: Re: AppleScriptObjC framework error?
- From: Shane Stanley <email@hidden>
- Date: Fri, 24 Dec 2010 22:09:55 +1100
- Thread-topic: AppleScriptObjC framework error?
On 24/12/10 8:58 PM, "Dave" <email@hidden> wrote:
> using NSUIntegerMax also fails with the message:
>
> "unable to set return value because the AppleScript value
> <NSAppleEventDescriptor: 9.22337e+18> could not be coerced to type Q."
>
> The ASOC bridge is clearly mishandling this edge case value for unsigned
> enums. It neither supplies it properly or returns it back to an unsigned enum
> C type.
And yet it's working fine as a parameter to
nextEventMatchingMask_untilDate_inMode_dequeue_. That's curious. (It also
works in your case in 32-bit mode.)
I guess there aren't many cases where masks really need to be NSUIntegerMax,
so it's easy to workaround. But it's strange that it works in one case, and
not another...
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden