• 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
"enterkey" keystroke and some more basic questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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.

  • Prev by Date: Re: To OSAX or Not To OSAX?
  • Next by Date: Re: Why so few OSX Additions?
  • Previous by thread: is it possible to use applescript to detect when job are added to the print que???
  • Next by thread: Getting name from a record in a script object
  • Index(es):
    • Date
    • Thread