• 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
Do Script and QuicKeys Backgrounder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do Script and QuicKeys Backgrounder


  • Subject: Do Script and QuicKeys Backgrounder
  • From: Gerry Brush <email@hidden>
  • Date: Mon, 12 Feb 2001 13:36:34 -0600 (CST)

I need to use Do Script to send a multi-line QuicKeys script to the QuicKeys
Backgrounder. Unfortunately, only the first line of the QuicKeys script is
executed. Here is a simple-minded example of the problem:

tell application "QuicKeys Backgrounder"
Do Script "AppSwitcher \"SimpleText\"
Wait Application \"SimpleText\"
Menu \"Open\" Exactly From \"File\"
Wait Window Name_Is \"\" Dialog
TypeText \"Hello World\"
Button \"Open\"
Pause 0.5"
end tell

The script switches to SimpleText but does nothing else (no error, no message).

The script works if I call Do Script for each line, but is too slow to be
usable:

tell application "QuicKeys Backgrounder"
Do Script "AppSwitcher \"SimpleText\""
Do Script "Wait Application \"SimpleText\""
Do Script "Menu \"Open\" Exactly From \"File\""
Do Script "Wait Window Name_Is \"\" Dialog"
Do Script "TypeText \"Hello World\""
Do Script "Button \"Open\""
Do Script "Pause 0.5"
end tell


What am I doing wrong here?

Gerry


----------------------------------------------------------------------
Gerry Brush Tel: (210) 258-9613
Department of Genetics Fax: (210) 670-3317
Southwest Foundation for E-mail: email@hidden
Biomedical Research
P.O. Box 760549
San Antonio, TX 78245-0549, USA
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: Do Script and QuicKeys Backgrounder
      • From: David Blache <email@hidden>
  • Prev by Date: Re: AppleScript crashes constantly
  • Next by Date: Re: ASCII questions
  • Previous by thread: Re: ASCII questions
  • Next by thread: Re: Do Script and QuicKeys Backgrounder
  • Index(es):
    • Date
    • Thread