August 5, 200223 yr 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
August 6, 200223 yr 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.
Create an account or sign in to comment