garrys Posted June 18, 2005 Posted June 18, 2005 Hi, Apology if this is not the right place to post this question but this is the most related category that I could find. When running "New window" script step, the currently open window also resized. How can I maintain the currently open window into its original size when calling "New window" command? Any suggestions would be highly appreciated. -garry
LaRetta Posted June 18, 2005 Posted June 18, 2005 Hi Garry, You can't. As soon as you 'windowize' a window, all Windows windows will also drop into windows state. The secret is to establish your main window size (in a window'd state) before calling your new window. Then it will remain in place. Simply, you can't have a maximized window and a smaller window together. Bummer I know ... I come from a world of maximized windows myself. But you can size your main window at startup (although you'll lose a bit of screen real estate). Then all subsequent windows will behave themselves; well, at least as much as Windows is capable of behaving himself. LaRetta
garrys Posted June 18, 2005 Author Posted June 18, 2005 Got you on that LaRetta, that part is now clear to me. On my layout, I've placed a button that triggers a new window to popup and it works just fine. However, every click on that button will open a new occurence of the same window. How can I tell that button to just switch to that window if its already on background? Thanks. -garry
LaRetta Posted June 18, 2005 Posted June 18, 2005 Your New Window script could be something like: If [ Position ( WindowNames ;
garrys Posted June 18, 2005 Author Posted June 18, 2005 Thanks so much LaRetta. I learned so much from you. -garry
Recommended Posts
This topic is 7100 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