Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Watch item case when using UIScripting keyboard commands System

Trying out the AppleScript UIscripting in Panther? Me too. Having trouble getting Windows Media Player to accept any form of automatic control, I resorted to using keystrokes. However, using this ...

  keystroke "Q" using command down
... resulted in the dialog box asking if I really wanted to quit all my running applications and log out! It turns out that UIScripting treats the uppercase Q as if you had also issued the 'shift down' command. To get around this, you must write this line as:
  keystroke "q" using command down
It may seem obvious now, but remember that the shorcuts in all menus are presented in uppercase, but do not require the user to hold down shift. Perhaps Q is not the best example, but it's something to be aware of if you experience odd behaviour with keystrokes.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[3,338 views]  

Watch item case when using UIScripting keyboard commands | 0 comments | Create New Account
Click here to return to the 'Watch item case when using UIScripting keyboard commands' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.