August 31, 200520 yr I want to use a script to open a different layout in a new window, and I want to define the layout using a script parameter. I can't seem to get it to work. If I do the following: New Window Go to Layout(Layoutname) It works fine. If I simply want to go to a new layout using a script parameter, I can do: Go to Layout(Get(ScriptParameter)) But, if I do: New Window Go to Layout(Get(ScriptParameter)) It doesn't switch the new window to the different layout. Obviously, I'd like to be able to use a script parameter so I don't have to write a new script for every window I want to open. Anybody have any ideas about what gives? Is this a bug, or am I missing something here. Thanks for any and all advice.
August 31, 200520 yr I have used a similar scripting for layout navigation and have had no problem. I made a copy of my script and then pared it down to your final script and it worked perfectly. I know this may sound silly but are you sure that you have spelled the layout name correctly in the script parameter. Incidentally if you do get it working do take account of closing the windows as well as opening them.
September 1, 200520 yr Author No spelling errors at all. I can't figure it out, and it's driving me batty! Could it be an OSX-only bug?
September 1, 200520 yr Author Wait a minute. I just tried it again, and now it works. Hmmmm.... (Just in case you are wondering, it was the same script as yesterday, so no, I didn't have any spelling errors!) : Hmmm....I shut down and re-started since yesterday....was that the solution? That's decidedly odd..... Well, if I ever get some time, I'll try tracking it down and post the results.
Create an account or sign in to comment