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

Display dialog Return - Bug or Feature?


  • Subject: Display dialog Return - Bug or Feature?
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 12 Aug 2002 08:44:20 -0700

On Monday, August 12, 2002, at 05:36 AM, John Delacour wrote:

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. Trying to type a return into a text field containing no returns in the default text has no effect here in any of the three environments.

display dialog "Enter some text." default answer "My name is Powers, Austin Powers." buttons {"Yeah Baby!", "Oh, behave!"}
text returned of the result

I placed the insertion point after "Powers," and typed a return followed by "mike meyers" followed by another return. The result was

"My name is Powers,
mike meyers
Austin Powers."

Using the Enter key instead of return displayed a single character (in the proper place among the rest of the text) that looks like this ("|<-") in the TE field, but it does not appear in the results window.

--Michelle

We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Display dialog Return - Bug or Feature?
  • Next by Date: Re: stripping resource forks from a file.
  • Previous by thread: Re: Display dialog Return - Bug or Feature?
  • Next by thread: Re: Display dialog Return - Bug or Feature?
  • Index(es):
    • Date
    • Thread