"enterkey" keystroke and some more basic questions
"enterkey" keystroke and some more basic questions
- Subject: "enterkey" keystroke and some more basic questions
- From: Mikael Byström <email@hidden>
- Date: Tue, 24 Jun 2003 00:55:27 +0200
Dear AS Users,
I'd like to send an enterkey keystroke to certain applications when they
display a dialog, in order to close that as soon as it appears (much as
Okido does under OS 9).
So in Pseduocode:
Do until user quits
if any dialog display in application XYZ
tell application XYZ
keystroke "enter"
end tell
end if
End Do
Problems for me:
How do I detect there is a dialog?
How do I generically reference the dialog when it display? Frontmost?'
How do I send Enterkey? Syntax?
What is the best way to wrap overseeing processes, like this one, that
will run for an arbitrary amount of time but actually tell an app
anything only under certain circumstances?
Any site references with info on basic questions like these are also very
much welcome.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.