Jump to content
Macro Express Forums

Window Should Stay In Foreground


yaqwa

Recommended Posts

MAybe you can help me - it should be easy but i do not know how.

 

Its really simple.

Lets say i get a mail with 10 links inside.

So i click on one link and this link opens in IE.

After that i have to switch to my mail - click the next link - IE window opens - switch back to mail .......... and so on.

Any chance to create a macro that do this:

 

If MAilprogramm is maximized (normally it stays in Tray)

and click on link

and IE opens

Activate mailprogramm

 

or just

 

If i click on link in MAilprogramm

and IE opens

Activate mailprogramm

 

 

please help

 

i know someone will say why not use ALT+Tab to switch but

1. i am lefthand so i have my mouse in this hand and please try to press alt+tab with the right hand :-)))

 

and

it should be automated.

 

thanks

Link to comment
Share on other sites

It looks like you've got the sequence correct, what is it you need help with?

 

1) Get mail

2) Click or Tab on next link in mail

3) Wait for IE to load

4) Activate mail window

5) Wait for mail window

6) Goto 2

Link to comment
Share on other sites

Here are some of the macro commands you will need:

2) Click or Tab on next link in mail
Mouse Move Screen 123, 234

Mouse Left Button Click

 

3) Wait for IE to load
Wait for Web Page: ""

 

4) Activate mail window
Activate Window: "title of email window"

 

5) Wait for mail window
Wait For Window Title: "title of email window"
Link to comment
Share on other sites

QUOTE 

2) Click or Tab on next link in mail

 

Mouse Move Screen 123, 234

Mouse Left Button Click

 

QUOTE 

3) Wait for IE to load

 

Wait for Web Page: ""

 

 

QUOTE 

4) Activate mail window

 

Activate Window: "title of email window"

 

 

QUOTE 

5) Wait for mail window

 

Wait For Window Title: "title of email window"

 

 

 

okok

but what should i use for activation?

That is my big problem

 

this should go automatic with no keystroke

i just want to klick on a link and the next link and so on without switching every time back to my mail programm

 

thats all

Link to comment
Share on other sites

i just want to klick on a link and the next link and so on without switching every time back to my mail programm

I don't think your operating system allows for this. Normally when you click a link from within any software application, your browser will fire and move to the top of the window stack automatically.

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...
×
×
  • Create New...