Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Take screenshots in screenshot-unfriendly apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Take screenshots in screenshot-unfriendly apps
Authored by: webbix on Jan 17, '04 10:50:56PM
I made a simple script to take screenshots a couple of years back, maybe when in 10.1? Anyway, I added some explanation as I uploaded for the mac user group. It would be simple to add a variable time per use. Here are the controls for 'screencapture': usage: screencapture [-icmwsWx] [file] -i capture screen interactively, by selection or window control key - causes screen shot to go to clipboard space key - toggle between mouse selection and window selection modes escape key - cancels interactive screen shot -c force screen capture to go to the clipboard -m only capture the main monitor, undefined if -i is set -w only allow window selection mode -s only allow mouse selection mode -W start interaction in window selection mode -x do not play sounds -S in window capture mode, capture the screen not the window file where to save the screen capture This is my original script:

display dialog "Capture screen or only an icon.
The highlight area shows capture.
Use 'shift' for crosshair capture.
Capture is on clipboard for paste.
ESC ends. " buttons {"OK"} default button 1
do shell script "screencapture -i -c -W"
I only tinker with Applescript but it should be easy to use a dialog to get your value and pass it to the sleep delay before running.
display dialog ("Delay (in seconds)?") default answer "20"
	copy value to WaitTime
Probably more trouble than it is worth with the other solutions. However maybe useful is you connect remote with ssh and need to get a screen shot then bring it over with rcp.

[ Reply to This | # ]