Re: Screenshot of Window (using Akua Sweets)
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