• 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: A problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Deivy Petrescu
email@hidden



 _______________________________________________
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>)

  • Prev by Date: Re: A problem
  • Next by Date: Re: A problem
  • Previous by thread: Re: A problem
  • Next by thread: Re: A problem
  • Index(es):
    • Date
    • Thread