Re: A problem
Re: A problem
- Subject: Re: A problem
- From: Deivy Petrescu <email@hidden>
- Date: Thu, 24 Feb 2011 13:42:20 -0500
On Feb 23, 2011, at 2:23 PM, louie wrote: Hi all, I am working on the data that I got from you all. ( see email (need your thoughts) The below code scrap edit fields will not speak. I am a blind person and use the apple screen reader voice over. When I enter data into the edit fields I do not hear what I am typing. I have voice over configured to echo characters when I type. As always thank you for your help. tell application "Finder" activate set theName to the text returned of (display dialog "enter the name" default answer "") set theNUmber to the text returned of (display dialog "enter the phone number" default answer "") end tell louie email@hidden
Louie, if you are writing a script, I believe the best way to get the code above to best work for you is to include "say" before the dialogs. And, do not use the finder. It is not necessary.
Here is the code:
tell current application say "Please, enter the name" activate set theName to the text returned of (display dialog "enter the name" default answer "") say "Please, enter the phone number" activate set theNUmber to the text returned of (display dialog "enter the phone number" default answer "") end
|
_______________________________________________
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
References: | |
| >A problem (From: louie <email@hidden>) |