key code 24 using control down - no longer works in 10.6

Addendum.

I am afraid it’s vice versa for me. The 1000 times script does work for me. Your most recent does not. Weird. Under 700 on mine does not !

A kind of sledgehammer solution! Delay is 12 seconds in total on my machine with the spinning ball coming up after 4. The screenshot is taken at about 12 secs.

Incidentally, there is a new version of a freeware App similar to Copernicus.- SnapNDrag - 2.5.5 at http://www.versiontracker.com/dyn/moreinfo/macosx/19919

It’s response to scripts seems to be far quicker than Copernicus, it can store the shots and produces no spinning ball!. It also appears to be more scriptable and has capturescreen and captureToFile commands in its Applescript Dictionary

For a simple screenshot I tried

tell application "SnapNDrag" -----adjust preferences to suit
	activate 
	tell application "System Events" to key code 13 using {command down}
	tell application "System Events" to key code 6 using {shift down, command down}
	delay 2
	tell application "System Events" to key code 13 using {command down}
end tell

However if all you need is a simple screenshot I also came across this at tuaw.com. No need for any other app. you can idle it, repeat it and hide it to your hearts content.

property N : 0
set N to N + 1
set picPath to ((POSIX path of (path to documents folder)) & "Picture " & N & ".png") as string --- to your desired location and change the ".png" file type to whatever you might want (.jpg, .tiff, etc.)
do shell script "screencapture " & quoted form of picPath

and finally, finally http://macgroup.org/blog/2010/05/06/commandshift4/ & http://www.digmo.co.uk/tutorials/creating-screen-grabs-in-os-x/ are kind of relevant to the matter at hand.

cheers.

Val

SnapNDrag - 2.5.5

Thanks Val, but that does not work on my blind server, works fine on my MBP. so no option.