Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Discovering the...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 1632 of 1674
Post > Topic >>

Discovering the name of a window

by isw <isw@[EMAIL PROTECTED] > Jun 24, 2008 at 11:22 AM

How can I find out what name to use in an AppleScript to address a 
particular window?

I have a two-screen setup -- Macbook plus an external monitor. After 
I've used the MacBook stand-alone, I run an AppleScript that rearranges 
the windows across the two screens, but there are a couple of windows I 
haven't been able to "get ahold of".

One is Mail's "Activity Viewer" window (AppleScript does not acknowledge 
that as its name, although that's what it says across the top); the 
other is iTunes when it is in the small "control panel" configuration. 
When it's in the "big window" configuration, my script moves it just 
fine, but not when it's small (so I suppose it has a different name 
then?)

So I was wondering, is there some simple AppleScript I could run that 
would list *all* visible windows and their names?

thx

Isaac
 




 8 Posts in Topic:
Discovering the name of a window
isw <isw@[EMAIL PROTEC  2008-06-24 11:22:07 
Private Message
   2008-06-24 12:28:51 
Private Message
   2008-06-24 20:42:20 
Private Message
   2008-06-25 00:14:06 
Re: Discovering the name of a window
Sander Tekelenburg <us  2008-06-25 06:05:31 
Re: Discovering the name of a window
Jean-Marie Schwartz <j  2008-06-25 11:53:31 
Private Message
   2008-06-25 07:58:32 
Private Message
   2008-06-26 10:06:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 15:36:28 CST 2008.