GrantSymon Posted February 12, 2006 Posted February 12, 2006 Hi, I'm sure this is a simple thing to do, but I can't find out how. : I'm using a script which includes New Window. What I want to do ... is ... if the window already exists (out of view ... behind other windows) then bring it to the front, if not, then go ahead and create a New Window. How can I do an "if exists windowName" kind of thing? Many thanks for any help/pointers. : Grant
flook Posted February 12, 2006 Posted February 12, 2006 (edited) Hi Using multiple windows can create many complications, particulary if you start changing layouts once those windows are being used. The important point is that you are naming your windows according to there function (i.e so that each window name is unique and has the same name each time it is used). Then when running a script use something like: Select Window (Name: "Name") If [Get (windowname) = "Name"] Enter Browse Mode Go to Layout Exit Script End If New Window [Name: "Name"] Enter Browse Mode Go to Layout Hope this helps Edited February 12, 2006 by Guest
GrantSymon Posted February 12, 2006 Author Posted February 12, 2006 Hi Flook, Perfect! Thanks! : Grant
Recommended Posts
This topic is 6860 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now