Hotkeys to Snapz Pro or Grab
Hotkeys to Snapz Pro or Grab
- Subject: Hotkeys to Snapz Pro or Grab
- From: Matthew <email@hidden>
- Date: Fri, 11 Feb 2005 00:32:03 -0500
Hello,
I'd like to be able to send hotkey combinations like Cmd-Shift-3, or
any other combination for that matter to Snapz Pro X to stop video
recording or use a similar key combination to invoke screen capture,
open Grab, etc. I'm not so much interested in working around this
(unless it's by programatically sending keystrokes) as I am actually
using AppleScript to do it for me.
Here's what I've tried, and I'm running Panther.
tell application "System Events"
keystroke "3" using {shift down, command down}
end tell
Ok, so that obviously didn't work, although intuitively I thought it
would. I also tried a variation where I nested a "tell process "Snapz
Pro X" inside the "tell application" but that didn't work either, and I
really didn't expect it to.
Is the problem that I'm not supposed to be sending this to "System
Events" or that AppleScript just can't do this? I read in the Snapz Pro
docs that they registered their hotkeys to be intercepted and processed
down on the Carbon level, but I'm not sure if that's relevant?
If you don't have Snapz Pro X, could someone comment on how to get
something like Grab to invoke via using a hotkey combination
Cmd-Shift-4 by applescript sending they keystrokes (or any other
programatically way of doing it)?
If this isn't possible, has anyone else had to work around it before?
I've been looking in CarbonEvents.h a bit.
Matthew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden