Re: another interesting bug.
Re: another interesting bug.
- Subject: Re: another interesting bug.
- From: Shane Stanley <email@hidden>
- Date: Mon, 31 Aug 2009 22:26:52 +1000
- Thread-topic: another interesting bug.
On 31/8/09 9:19 PM, "Deivy Petrescu" <email@hidden> wrote:
> start AS Editor in 32-bit and run the same script...
> I get the same error.
> So, It is not just related to 64-bit.
Run it in Script Debugger -- which is 32-bit -- and there's no error.
On 31/8/09 2:26 PM, "Brian Christmas" <email@hidden> wrote:
> Simple answer
>
> set e to -10004 as real
> display dialog e
> return e
A better answer is probably this:
set e to -10004
display dialog (e as text)
return e
Display dialog is supposed to take text as its main parameter, and although
it's done the coercion itself in the past, relying on shortcuts like this
has a habit of biting back.
--
Shane Stanley <email@hidden>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
_______________________________________________
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