how to activate window, not app?
Terminal window and set it to be frontmost (i.e. so it has focus)
without raising all the other Terminal I have open. The following
creates the new Terminal window but results in all the other Terminal
windows I have open behind my other windows being raised, which I'm
trying to avoid:
tell application "Terminal"
activate
do script ""
end tell
I stumbled on an old thread that seemed to be asking the same
question at http://groups.google.com/group/alt.comp.lang.applescript/browse_frm/thread/31a26 61b7ee29f06, but I don't see how the example given accomplishes this. Can anyone help?
Thanks!
Josh
[Note: Cross posted from http://groups.google.com/group/alt.comp.lang.applescript/browse_frm/thread/b1fee 62777be00e2, as I haven't had any responses on the newsgroup.]
MacBook5,1, Mac OS X (10.6.1)