HERE IS A GOOD ONE - CASCADE WINDOWS IN A GROUP

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
sailor dude
Pro Scripter
Posts: 50
Joined: Fri Jan 20, 2006 10:43 pm

HERE IS A GOOD ONE - CASCADE WINDOWS IN A GROUP

Post by sailor dude » Wed Dec 20, 2006 11:08 pm

I am writing a macro and opening 10 instances of IE going to various websites.

How can I cascade or tile these IE windows without changing the other open windows?

I am running WinXP

Thanks in advance

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Dec 21, 2006 12:08 am

Can you use TABS instead of tiling?

Available in Firefox, Mozilla for a few years.

Now available in MSIE 7.0

============================
If must stay with multiple individual sessons of MSIE then try this:

Right click in clear section of Task Bar.
Select Cascade/Tile Hor/Tile Vert
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

sailor dude
Pro Scripter
Posts: 50
Joined: Fri Jan 20, 2006 10:43 pm

Post by sailor dude » Thu Dec 21, 2006 3:18 pm

Sorry - I am stuck with IE6 - company policy.

I do not want to tile or cascade all the windows only the IE windows in the group on the taskbar.

I suppose I could individually move and resize the windows.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Dec 21, 2006 5:39 pm

You could use MoveWindow and use a formula to change X,Y values by adding a constant to make them tile where you want them.

A rough skeleton to make into script:
---------------------
Count the windows to be cascaded = count
n=1
constant=30
Loop through the process "count" times
MoveWindow>WindowName"n",X+constant,Y+constant
n=n+1
if n>count then stop loop
----------------------------------
Above is definitely not correct, but to point you in direction.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts