• 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: "Bob.Kalbaugh" <email@hidden>
  • Date: Thu, 27 Sep 2001 13:10:39 -0500

This all seemed so easy, that I had to try it out. Here are the results OMM
(PM7300 180 running OS 8.5.1 AS 1.3.4 Carbon Lib 1.0.4) and I apologize if
I'm being a pain.


on 9/27/01 3:48 AM, Godot at email@hidden wrote:

> Why not just:
>
> Tell app "WhoseWindowToCapture"
> store image (capture picture from {window peek: -1})
> End
>
> ...for the front window

Tried that. First ran from Script Editor telling app "Finder" resulted in a
display of a blank (gray) dialog (file Selector?) and a hang. I had to force
quit the finder to get out of it.

Second, (still telling Finder) but adding activate and saved as applet, on
run resulted in proper display of file selector (BMP, JPEG, ETC.) but all
formats tried returned an notification of "Parameter error". :-(

>
> Or
>
> store image (capture picture in myBounds)
>
> For a piece of the screen...
>
With this one I had Finder set the front window bounds in the variable
myBounds. Saved as an applet. After a lot of "Out of memory errors" and
upping the requirements (finally at 12000k :-), I was able to get it to save
as a tiff image.

Hmmm?
Unfortunately I do not know enough about AKUA and although I tried,
unsuccessfully, to add other parameters, and I did check-out some of the
examples that were provided with the scripts package but found nothing so
far, I'm not sure what I'm missing.

Are the examples you provided supposed to take screenshots?
Should it work with the Finder?

I would be most appreciative for your kind reply.

Thanks much in advance.

_bob.kalbaugh

PS. Is there any other documention on AKUA Sweets besides the HTML work
included with the install? As someone who is NOT a programmer should I even
be playing around with this osax? I certainly don't want to mess-up anything
on my machine. (and please... no snickering folks :-)


  • Follow-Ups:
    • Re: Screenshot of Window (using Akua Sweets)
      • From: "Joseph A. Weaks" <email@hidden>
References: 
 >Re: Screenshot of Window (using Akua Sweets) (From: Godot <email@hidden>)

  • Prev by Date: Re: Scripting Startup Disk?
  • Next by Date: Back to Adoption Barriers (was Re: Applescript Studio announced today!)
  • Previous by thread: Re: Screenshot of Window (using Akua Sweets)
  • Next by thread: Re: Screenshot of Window (using Akua Sweets)
  • Index(es):
    • Date
    • Thread