• 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: Display dialog Return - Bug or Feature?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display dialog Return - Bug or Feature?


  • Subject: Re: Display dialog Return - Bug or Feature?
  • From: Bill Briggs <email@hidden>
  • Date: Mon, 12 Aug 2002 10:03:48 -0300

At 1:36 PM +0100 12/08/02, John Delacour wrote:
At 8:12 AM -0300 12/8/02, Bill Briggs wrote:
Well, your code that sets the *default answer* with returns included
is not a script that considers the same thing Paul described in his
post. [blah]

If you run this in OS 9

display dialog "write something" default answer "text here" buttons {"yes","no", "maybe"}

and then when the dialog pops up, type some text and press enter, precisely nothing happens. The dialog persists, and the text in the window stays put. The "return" doesn't become part of the text entered.

Just so. If the default answer contains no return it is not possible to enter returns in the field, whether you are in OS X, Classic or 9.

What Paul said in his post is that you *can* enter returns in the field in X, even if there are no returns in the default text. And on the X machine in front of me, I see exactly the behaviour he describes, which is different from the way it works in 9. What version of X are you running? I'm running 10.1.5 and it works as Paul described it. Are you running Jaguar? If so, that may explain it.

- web
_______________________________________________
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: Display dialog Return - Bug or Feature?
      • From: John Delacour <email@hidden>
References: 
 >Display dialog Return - Bug or Feature? (From: Paul Berkowitz <email@hidden>)
 >Re: Display dialog Return - Bug or Feature? (From: John Delacour <email@hidden>)
 >Re: Display dialog Return - Bug or Feature? (From: Bill Briggs <email@hidden>)
 >Re: Display dialog Return - Bug or Feature? (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Display dialog Return - Bug or Feature?
  • Next by Date: Re: Display dialog Return - Bug or Feature?
  • Previous by thread: Re: Display dialog Return - Bug or Feature?
  • Next by thread: Re: Display dialog Return - Bug or Feature?
  • Index(es):
    • Date
    • Thread