• 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: Screenshot of Window (using Akua Sweets)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screenshot of Window (using Akua Sweets)


  • Subject: Re: Screenshot of Window (using Akua Sweets)
  • From: Alexander Schrieken <email@hidden>
  • Date: Thu, 27 Sep 2001 09:15:59 +0200

On Wed, 26 Sep 2001 23:47:27 -0500, "Bob.Kalbaugh"
<email@hidden> wrote:

>And to answer Alexanders question,
>
>Like Paul said, some of the properties of input
>state in AKUA are read only. ie: {caps
>locked:true} but you can still run a script that
>will do what you want - IF - you make sure the
>caps lock key is on BEFORE you run the script.

That kind of surprises me since the dictonary
doesn't indicate any of the variables used to be
read only:

| Properties:
|
| kind button down event/button up event/
| key down event [r/o]
| conglomerate integer [r/o]
| pointer location point
| modifier keys string
| transient keys string
| button down boolean
| caps locked boolean
| raw keys down string [r/o]
| window under mouse string [r/o]
| window coordinates point [r/o]
| window part under mouse small integer [r/o]


>Play around with this.(Make sure there is at
>least one Finder window open first, before
>running this script) Note that it includes a
>handler for testing the current state of the caps
>lock key and if it is not active it will prompt
>you to activate it. Hint: If prompted, activate
>the caps lock key first, then hit return or enter
>to dismiss the dialog. One caveat. If you move
>the mouse during the script run, it probably
>won't work

Thanks Bob,

The handler for testing this works fine. Although
the script would have been more elegant without
presenting a dialog asking the user to press the
caps lock key, I can live with it.

(Still think they've got to fix the dictionary
though -- wasn't this mentioned in a thread on
this list? Something like 'AS adoption
barriers'...)



Alexander Schrieken Amsterdam
email@hidden the Netherlands


  • Prev by Date: Re: Screenshot of Window (using Akua Sweets)
  • Next by Date: Re: Why doesn't this work?
  • Previous by thread: Re: Screenshot of Window (using Akua Sweets)
  • Next by thread: Re: Screenshot of Window (using Akua Sweets)
  • Index(es):
    • Date
    • Thread