screenshot

ok why does this not work to take a screenshot. Nothing happens.

tell application "System Events" to keystroke "3" using {shift down, command down}

Don’t use GUI scripting; use the shell screencapture command. See it’s man page for the switches to capture different things. Search here for examples; I’ve seen several.

Adam- Thanks, i didn’t know that was an available option.

Tom_X- thanks for pointing out what was wrong. I still don’t understand why shift+cmd+ 3 is not the same as shift + cmd + # but one works and that solves the riddle.

All in all, thanks for solving that gentlemen.