[TxMt] Re: 'Open in Running Browswer' how to switch focus?
Martin Kühl
martin.kuehl at gmail.com
Sun Jun 20 22:34:58 UTC 2010
On Mon, Jun 21, 2010 at 00:26, plastichairdoo <plastichairdoo at gmail.com> wrote:
> hi there - I'm trying to make a simple macro that will perform the 'Open in Running Browser' operation *and then actually switch window focus over to the open page in the browser*!
> it's a bit strange that TM doesn't do this automatically but whatever.
> I tried making a simple little macro so I could just code it in by hand but I'm not proficient enough with whatever scripting language TM uses for it's macros (Ruby?)
> anyway, mayhap there is a simple solution to this? it seems like there should be!
In the script, do you see the line reading
# On Leopard use the -g option to open in background.
Maybe you could try removing the -g option from the call to `open` below it?
HTH,
Martin
More information about the textmate
mailing list