• 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: Detecting a keydown or key up.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting a keydown or key up.


  • Subject: Re: Detecting a keydown or key up.
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 02 Aug 2011 15:17:47 -0500

On Aug 2, 2011, at 2:50 PM, Zavatone, Alex wrote:

I think this explains it:

modifiers

modifiers (enumeration)the modifier keys pressed in combination

 constants

Constant
Description
caps lock down
command down
control down
option down
shift down

 where used

The modifiers enumeration is used in the following ways:
modifiers property of the keystroke class/record

Yes, I thought that is the way it should work.
Perhaps 'modifiers of keystroke', but that errors.
So, I tried this ...

on run
get keystroke
class of the result --> "class"
end run

It seems that keystroke is not a record or anything else.
Which is why I think this is brain dead.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Detecting a keydown or key up.
      • From: "Zavatone, Alex" <email@hidden>
References: 
 >Detecting a keydown or key up. (From: "Zavatone, Alex" <email@hidden>)
 >Re: Detecting a keydown or key up. (From: Luther Fuller <email@hidden>)
 >Re: Detecting a keydown or key up. (From: "Zavatone, Alex" <email@hidden>)

  • Prev by Date: Re: Detecting a keydown or key up.
  • Next by Date: Re: Detecting a keydown or key up.
  • Previous by thread: Re: Detecting a keydown or key up.
  • Next by thread: Re: Detecting a keydown or key up.
  • Index(es):
    • Date
    • Thread