Thanks!

Whether with quicksilver or other method, what is the fastest way to
use such script? I need to write a parameterized (with AppName and
WindowName) script and invoke it with parameters?

Regarding focus -- there's probably some set focus/set as active or whatever.
If the window is visible I can click to focus, so it is a minor issue.

I don't have much experience with writing scripts, I'll try writing a
script for emacs, with title as a parameter and see how it goes.

On Mon, Oct 18, 2010 at 2:15 AM, Dan Shockley <[email protected]> wrote:
>
> Most Mac OS X applications will respond to a command written in
> AppleScript using the following syntax:
>
> tell application "YOUR_APP_NAME"
>   set index of (window "WINDOW_NAME") to 1
> end tell
>
> It isn't perfect - the apps I tested this on seemed to bring that
> window to front, but not activate it. Kinda strange.
>
> Dan
>
>
> On Oct 14, 7:25 pm, soniam <[email protected]> wrote:
>> Hello,
>>
>> I have lots of open windows of the same application (usually either
>> emacs or terminal). Can I open a specific window by it's title?
>>
>> thanks

Reply via email to