yaqwa Posted September 10, 2005 Report Share Posted September 10, 2005 Hi i created a macro which should help me to download nearly automatic some files looks like this <WAITWIN2:000000:000002:Download><TEXTTYPE:s><WAITRM:000000000030><ACTIVATE2:NetCaptor><TEXTTYPE:<TAB>> This macro really works fine and i have no problem with it. Only thing i want to change is this normally i click on a download link and than tha macro does his job but after that the mouse cursor is on the position where the last button to click was . Now i think there must be any chance to place the cursor on the last link i clicked on the webpage and not at the last positon he was the macro just have to remember not the last click it must remember the click befor or 3 clicks befor any chance to do this? Quote Link to comment Share on other sites More sharing options...
randallc Posted September 11, 2005 Report Share Posted September 11, 2005 Hi, I'd probably need to know more about what you are doing and in what context. You may need to automate things a little more... try the previous thread?... Automating IE links Best, randall Quote Link to comment Share on other sites More sharing options...
yaqwa Posted September 12, 2005 Author Report Share Posted September 12, 2005 Thanks but i think this will not really help me. What i want is a macro who works in every webpage i open Again what i do is this Open a page click on a link A window opens with named "Download" Than the macro starts the macro only clicks on "Save" in the window thats all than the next popup window opens where i can save the file ("save as") mouse cursor jumps to the OK Button and now all i have to do is click on it and the file was saved in my folder. thats all But now i just want the mouse curser to jump from the place where it was at last ( the last click was on the "OK" Button) to the last position of the page where i clicked at the link to save. So the macro has to remember the last position where the cursor was when clicking on the link Quote Link to comment Share on other sites More sharing options...
kevin Posted September 13, 2005 Report Share Posted September 13, 2005 Have you tried saving the mouse cursor position before clicking on the link and restoring it at the end of the macro? Perhaps something like this will work: Variable Set Integer %N1% from Mouse X Position Variable Set Integer %N2% from Mouse Y Position // Do macro stuff Mouse Move Window %N1%, %N2% Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.