Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8149 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello all,

I am trying to write a script that navigates from 1 file to another file. I have 3 different files and I want a script in two of the files to go to the 3rd and maximize the window. So here is what I did: In the 3 rd file I wrote a script that toggle(restore) and then toggle(maximize). In the other two files I wrote a script that performs an external script(the script in the 3rd file). This works perfectly for one of the files. The other file minimizes itself and then switches to the 3 rd file but does not maximize the window. Both of the scripts in both files are identical. I don't understand why one would work and the other wouldn't. Any ideas?

Thanks,

John

Posted

I use a similar technique in many of my solutions. Basically, every GOTO script, from within a file, or to another, also runs a RESIZE script, which will Toggle Window>Zoom the layout you're going to (making it the size I want it to be, based on the layout I made). I find Zooming a Window to a predetermined size is cleaner than simply maximizing it all the time, especially in Windows where the display of Windows is not as clean as on the Mac. Unfortunately, the Window management scripts (Zoom, Maximize, etc.) works all the time in Mac environments, but oddly enough not in Windows. I don't know why, because they do if you manually retrigger them, but not if they're triggered from a different file, such as mentioned. If anyone has had similar problems, I too would like to know if they found a way to ensure that the Window scripts in the second file were always triggered correctly.

This topic is 8149 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.