• 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: Scripting Capture of an Internet Connect Window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Capture of an Internet Connect Window?


  • Subject: Re: Scripting Capture of an Internet Connect Window?
  • From: Andrew Oliver <email@hidden>
  • Date: Mon, 23 Oct 2006 20:48:21 -0700


On Oct 23, 2006, at 8:09 PM, Jonathan Levi, M.D. wrote:

Hi, -- I'd like to do the above, preferably using Grab (which is "not scriptable") or automating a command-function-3 keypress. Problems are that GUI-scripting Grab seems to lead in the end to a need for an actual mouse click -- "click {x,y}" does nothing, even though x and y are global coordinates inside the Internet Connect window. Or I could capture the whole screen with command-function-3, then cut the picture down to the area that I want pretty easily, but I don't know how to automate typing command-function-3. Any ideas? -- TIA, Jonathan

Try:

do shell script "/usr/sbin/screencapture ~/Desktop/screen.png"

It will give you the whole screen, but I'm not aware of any way of capturing a window without user interaction.


Andrew :)

_______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Scripting Capture of an Internet Connect Window?
      • From: "Jonathan Levi, M.D." <email@hidden>
References: 
 >Scripting Capture of an Internet Connect Window? (From: "Jonathan Levi, M.D." <email@hidden>)

  • Prev by Date: Scripting Capture of an Internet Connect Window?
  • Next by Date: Re: Scripting Capture of an Internet Connect Window?
  • Previous by thread: Scripting Capture of an Internet Connect Window?
  • Next by thread: Re: Scripting Capture of an Internet Connect Window?
  • Index(es):
    • Date
    • Thread