• 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: keystroke is very slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keystroke is very slow


  • Subject: Re: keystroke is very slow
  • From: Tim Mansour <email@hidden>
  • Date: Sat, 3 Sep 2005 08:34:41 +1000

On 02/09/2005, at 2:02 pm, Robert Poland wrote:

I am doing a script that uses the keystroke command. It is very slow, Is there another way to enter data with a GUI script?


I'm having the same problem Robert but don't have any alternative at the moment (other than a utility such as QuicKeys or iKey). FWIW, part of my script is opening a file via a standard File Open dialog and I'm using the Ctrl-/ keystroke to navigate to the file, eg:


-- first get an Open File window to display, then:
keystroke "/" using control down
delay 1
tell window "Open"
tell sheet 1
set value of text field 1 to myfile -- contains path to file
click button 1
end tell
click button 1
end tell


... and in this script that first "keystroke" command takes ages, meaning the user thinks nothing's happening. If anyone has another way of navigating the file system in a standard Open/Save window I'd be happy to hear it.

--
Tim Mansour <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:
This email sent to email@hidden


References: 
 >keystroke is very slow (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Determining if a scripting addition is installed
  • Next by Date: Re: what is Image Capture Scripting?
  • Previous by thread: Re: keystroke is very slow
  • Next by thread: Determining if a scripting addition is installed
  • Index(es):
    • Date
    • Thread