• 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
Re: Chack keys pressed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chack keys pressed


  • Subject: Re: Chack keys pressed
  • From: Deivy Petrescu <email@hidden>
  • Date: Thu, 18 Dec 2003 22:47:18 -0500

At 3:44 PM -0800 12/18/03, Walter Ian Kaye wrote:
At 03:30p +0100 10/20/1948, VRic didst inscribe upon an electronic papyrus:

There's no need for an osax: under Mac OS 9 it's in the AppleScript
extension's own dictionary, so it's a bit hard to find since Script
Editor won't show it (I used Smile to find out, then used ResEdit to copy
AppleScript's resource to an aete in a dummy file to read it in Apple's
Script Editor, I'll give directions if someone is interested).

Example:
if option down is in modifiers then display dialog "option key is down"

I tried that in Jaguar; it fails. "Can't get modifiers."

-boo

Running it in Panther with SE I get a NSCannotCreateScriptCommandError.

However, running it in Smile (2.5.9, however, do not know if this is the right 2.5.9...).
It runs fine and it actually recognizes the key down.
Second gift today...

<Smile script>
if option down is in modifiers then return modifiers
-->{option down}
</Smile script>
--
Regards
Saudagues

Deivy
http://www.dicas.com
_______________________________________________
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.

References: 
 >Re: Chack keys pressed (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: [OT] Re: what have the Romans ever done for us?
  • Next by Date: Re: what have the Romans ever done for us?
  • Previous by thread: Re: Chack keys pressed
  • Next by thread: Folder action query 2: properties
  • Index(es):
    • Date
    • Thread