Jump to content
Macro Express Forums

Open new IE Window in Same Window


Snappy
 Share

Recommended Posts

I am writing a macro to index a large number of photo categories on my web site. I initially did it using mouse clicks but I find that it does not work the same on different screen sizes. I am able to do the same thing by calling up web pages. Ex:

 

<HTTP2:1:F:url/imageFolio.cgi?admin=admin&cgi=categories.pl&cataction=index_me&uid=1390382411><WAITWIN2:000002:000000:Select a Category><HTTP2:1:F:url/imageFolio.cgi?admin=build&ct=1210861100&category=Amphibians&submit=Rebuild+Amphibians>

<WAITWIN2:000002:000000:Rebuilding Indexes><HTTP2:1:F:url/imageFolio.cgi?admin=admin><WAITWIN2:000002:000000:Administration><HTTP2:1:F:url/imageFolio.cgi?admin=admin&cgi=categories.pl&cataction=index_me&uid=1390382412>

<WAITWIN2:000002:000000:Select a Category>

<HTTP2:1:F:url/imageFolio.cgi?admin=build&ct=1210861100&category=Amphipod&submit=Rebuild+Amphipod>

<WAITWIN2:000002:000000:Rebuilding Indexes><HTTP2:1:F:url/ImageFolio4/imageFolio.cgi?admin=admin>

<WAITWIN2:000002:000000:Administration>

 

This works just fine and I have quite a number of additional categories to index. The problem is that each of these opens in a new window. I would like them to open in the same window so that I don't have 300 windows open by the time that the macro finishes. I looked in the help section but could not find anythiing. I am new to the program but it is helping me solve a huge problem that I am having reindexing my photo categories.

 

I did manage to get something to work. After each category rebuilds, I send a Control Down command plus a "W" and then a Control Up command. That closes the previous window. Each rebuild opens in a new window but the combination above closes each as it finishes. Perhaps there is an easier way but this works at least for now.

 

Any help would be appreciated.

Link to comment
Share on other sites

I just tried a simple experiment and it seems to work. After opening the browser the first time, use the Text Type command to press Alt d. This takes the cursor to the address line. Then have the macro type the URL in the address line and press enter to open the new page. Follow with a Wait for Web Page command.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...