February 12, 200619 yr 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
February 12, 200619 yr 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, 200619 yr by Guest
Create an account or sign in to comment