can you collapse the panel via scripting? that'll give the focus back to illustrator
try sending a BridgeTalk message to activate Illustrator.
If you close the panel it does gives up KB focus, but maddeninly enough, if you open it again it grabs back KB focus. Takes away the hack of blinking it closed then open with Actionscript. Now looking into bridge talk messages. Never done that before...
... the following does not work. Hope I got the syntax right.
var bt = new BridgeTalk;
bt.target = "illustrator";
var script = "app.activeDocument.activate();"
bt.body = script;
Should I be trying another type of script for bt?
And Carlos, you are an Illustrator scripting saint. Thank you for all your responses on behalf of everybody.
thanks I appreciate it.
try calling this static method, no need to build a message
I'm not sure if it will work, we're just trying things out.
Didn't work. Neither did the launch method. I also tried,
Hum can you explain you issue again… I must have overlooked something… I draw an object in AI leave it selected… go to launch any extension… Then keystroke delete… Gone??? What have I done wrong as this apperars to be fine…?
Illustrator CS6. Mac OS 10.8.2.
Draw rectangle. Leave it selected. Go to window - extensions. Open Kuler panel. Don't click anything. Hit delete.
Altenately, if kuler panel is already open, click on of the buttons in Kuler panel with object selected and then hit delete.
Sorry but I only have CS5 and snow leopard and Im not seeing this… I tried what you suggested and in both instances it just deletes the item…
I'm on CS5 Win7, and yes, I can replicate the OP problem, open Kuler, clicked anywhere in the kuler panel (except the title bar), main application loses focus, V won't activate the Selection Tool.
Oh I thought the OP said this was a mac issue yet I can't replicate it… I have had issues with previous scripts in bringing AI back to focus when using Bridgetalk…