• 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: Is this a known bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a known bug?


  • Subject: Re: Is this a known bug?
  • From: Christopher Nebel <email@hidden>
  • Date: Thu, 9 Nov 2006 17:04:54 -0800

On Nov 9, 2006, at 4:45 PM, Adam Bell wrote:

Pardon first version - removed 'of'

Run this little script:

set nums to {5, 4, 3, 2, 1, 0}
repeat with N in nums
        display dialog "^ " & (N as text) & " side by side = " & "^" & N giving up after 1
end repeat

display dialog "^0" , "^1", "^2" and "^3" come up blank when they are side by side. Using ASCII number doesn't help. 'as unicode text' doesn't help. (Pointed out by bmose on bbs.applescript.net).

It's not a bug, precisely -- it's a very old Dialog Manager feature to do text substitution.  If it sees "^0" (or 1, 2, or 3) in a piece of dialog text, it will substitute the string set by another Dialog Manager call.  (ParamText, if you care.  No, it's not accessible from AppleScript.)  The only suggestion I can give you at the moment is "don't do that."



--Chris Nebel
AppleScript Engineering

 _______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is this a known bug?
      • From: Michelle Steiner <email@hidden>
References: 
 >Is this a known bug? (From: Adam Bell <email@hidden>)

  • Prev by Date: Re: Is this a known bug?
  • Next by Date: Re: Is this a known bug?
  • Previous by thread: Re: Is this a known bug?
  • Next by thread: Re: Is this a known bug?
  • Index(es):
    • Date
    • Thread