• 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: Yosemite Display Dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yosemite Display Dialog


  • Subject: Re: Yosemite Display Dialog
  • From: Yvan KOENIG <email@hidden>
  • Date: Mon, 26 Jan 2015 20:56:27 +0100


Le 26/01/2015 à 20:15, Stockly, Ed <email@hidden> a écrit :

set dialogAnswer to display dialog ¬
"Default Button Test" buttons {"Yes", "No", "Cancel"} ¬
default button "Yes" default answer ¬
"Return or enter" & return & "With two or more lines"

Does anyone else notice that in Yosemite, in the dialog from display
dialog with default answer with two or more lines, the default button
doesn't respond to Enter or Return. Instead it adds a new line to the text
in the answer field.


ES


Same behavior here. Simple way to get rid of it :

set dialogAnswer to display dialog ¬
"Default Button Test" buttons {"Yes", "No", "Cancel"} ¬
default button "Yes" default answer ¬
"Return or enter" & character id 8232 & "With two or more lines"

Yvan KOENIG (VALLAURIS, France) lundi 26 janvier 2015 20:56:16


 _______________________________________________
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

  • Follow-Ups:
    • Re: Yosemite Display Dialog
      • From: Mark Hunte <email@hidden>
    • Re: Yosemite Display Dialog
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Yosemite Display Dialog (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: "first element whose" in Javascript for Automation
  • Next by Date: Re: Yosemite Display Dialog
  • Previous by thread: Yosemite Display Dialog
  • Next by thread: Re: Yosemite Display Dialog
  • Index(es):
    • Date
    • Thread