Hey,

Visor is a useful Quake-like interface for the Mac OS X Terminal. The
biggest downside is that when the Visor activates, the focus remains
on the current open application (you'd have to click in the visor-
window to be able to start typing.
I'm trying to create an Applescript to activate Visor (http://
www.blacktree.com/) using a Quicksilver trigger. So far I have this
(control-option-escape activates Visor):

tell application "System Events"
        set frontMostApp to name of the first process whose frontmost
is true
end tell
if frontMostApp = "Terminal" then
        tell application "System Events"
               tell application frontMostApp to activate
        end tell
else
        tell application "System Events"
               key code 53 using {control down, option down}
               tell application "Terminal" to activate
        end tell
end if

This simple script has a basic toggle function. It works when I run it
in the Script Editor, but when I trigger it in Quicksilver only
Terminal is activated but the keycombo doesn't get pressed (i.e. Visor
is not activated). Does anyone know what the issue may be?

Reply via email to