When I run the following AS via a trigger with keys ⌃⇥ and scope Terminal 
for Terminal with LSUIElement set and TotalTerminal injected

*tell* *application* "Terminal"

*tell* *window* 2 -- Visor HUD

*set* theTabs *to* (*get* *tabs*)

*set* maxIndex *to* *count* *tabs*

*repeat* *with* idx *from* 1 *to* maxIndex

*if* selected tab *is* *item* idx *of* theTabs *then* *exit* *repeat*

*end* *repeat*

*set* idx *to* idx + 1

*if* idx > maxIndex *then* *set* idx *to* 1

*set* selected tab *to* *tab* idx

*end* *tell*

*end* *tell*

it doesn't work and I get the following messages in Console

Mar  9 20:13:20 Terminal[67324]: An exception was thrown during execution 
of an NSScriptCommand...
Mar  9 20:13:20 Terminal[67324]: [<NSWindow 0x7fab998cc7f0> 
valueForUndefinedKey:]: this class is not key value coding-compliant for 
the key tabControllers.
Mar  9 20:13:20 Quicksilver[66988]: Run Script: Terminal got an error: 
AppleEvent handler failed.

Same happens with scope all applications or with another key combination.
The script runs with no problems except for 'error number -1708' — third 
line above I think — from ASE and from within a tell application QS block.

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to