• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: another interesting bug.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: another interesting bug. (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: another interesting bug.
  • Next by Date: Re: Snow Arithmetic
  • Previous by thread: Re: another interesting bug.
  • Next by thread: Re: another interesting bug.
  • Index(es):
    • Date
    • Thread