Re: Screenshot of Window (using Akua Sweets)
Re: Screenshot of Window (using Akua Sweets)
- Subject: Re: Screenshot of Window (using Akua Sweets)
- From: email@hidden
- Date: Thu, 27 Sep 2001 02:12:29 -0500
At 13:42 +0200 09/26/01, Alexander Schrieken wrought:
>
I'm trying to make small -- tiny -- scripts for
>
the key-combinations involved in taking screen-
>
shots.
>
...
>
Unfortunately I can't get the one allowing the
>
user to take a picture of the frontmost window
>
(command + shift + capslock + 4) to work... Any
>
help would be much appreciated.
__________________________________________________________________________
Using Akua:
set theApp to name of (info for (path to (front application)))
tell application theApp
capture picture from {window peek:-1}
clip result
end tell
You can of course save the result to a file.
--
Best Regards,
Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden