Re: keystroke is very slow
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