• 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: Hat bug.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hat bug.


  • Subject: Re: Hat bug.
  • From: Graff <email@hidden>
  • Date: Fri, 19 Mar 2004 12:58:29 -0500

If I remember correctly, historically dialogs under Mac OS used to use the format "^0" to represent dynamic text content. In other works, when you were building a dialog for a program you would set any text that you wanted the program to be able to modify with a ^ and a number. Then when you were accessing the dialog through the program you could run the command ParamText to modify up to four of those constructions (^0, ^1, ^2, ^3).

For example, you would build this into text in a dialog box:
"I want ^0 to go to the store"

You would then call:
ParamText("Bob, "", "", "");

Which would cause the text in the dialog to display as:
"I want Bill to go to the store"

So it looks like you are running into this problem due to an old feature. I believe that this method is still used for Carbon and for all I know it may be used behind the scenes in Cocoa also.

You can read more about it here:
<http://developer.apple.com/documentation/mac/Toolbox/Toolbox-417.html>

-Ken

On Mar 19, 2004, at 4:10 AM, Emmanuel wrote:

display dialog "^0^1^2^3"

Emmanuel
wondering if display dialog supports a hidden "paramtext" parameter?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Hat bug.
      • From: Michelle Steiner <email@hidden>
    • Re: Hat bug.
      • From: Bill Briggs <email@hidden>
References: 
 >Hat bug. (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: RegEx ignores space in pattern
  • Next by Date: Re: RegEx ignores space in pattern
  • Previous by thread: Re: Hat bug.
  • Next by thread: Re: Hat bug.
  • Index(es):
    • Date
    • Thread