Been looking through the forums for hours and striking out.
I need to select an item on a web site. Just by clicking it, it takes you into the item's details. Then I make some changes to the item (this part's no problem). Then I need to click back and (here's the tricky part), select the next item. This is easy to do once, but each time I go back, I need to move the cursor 13 more pixels down than the last time. I've tried setting a variable to zero, then adding 13 to it in each loop, then setting the mouse Y position to that variable. But things just aren't clicking.
The best way to get good help on automating your workflow is to:
Post the URL of the web page to be processed (unless it is sensitive), and to identify which browser you are using.
Post the KM Macro (file and image) you currently are using
Be specific about which step/Action is not working for you.
Generally it is best to use found image and/or movement by pixels of the mouse as a last resort. It is much better (more reliable), if you can, to use KM Actions and/or JavaScript in Browser to click on the web page elements of interest.
Thank you for the reply. The web site is actually very sensitive as itās a large corporate password management system. I could post the macro but right nowve as itās a large corporate password management system. I could post the macro but right now itās literally one step - click at this position. If i canāt figure out how to loop through and add 13 pixels down to each step I have no reason to go further and weāll have to edit the 700ish items by hand.
Iāll review the materials you referenced and see if I can come up with something. Since each item is text with a different name and some JS that takes you to the account page when you click on it, I donāt know how to use the find image function for that.
And save each mouse cursor repositioning macro as it's own macro, called from the "parent" macro. (I named parents as Name.1.x.x, children as Name.1.1.x, and grandchildren as Name.1.1.1.) This allowed me to
More easily adapt each multi-step macro to changes in the display on which the Webpage was displayed or to changes in the Webpage itself
Use the repositioning macros in other similar macros run on other Webpages
I'm not sure how to explain it further. Have you done the Tutorial? If you know how to create a macro, and how to add actions, then you basically just add the actions as described:
Use the Repeat action with a number set for the number of times to repeat.
Use the Click Mouse action to click, and use the variables from earlier (X and Y) as the location to click. Ensure you configure it to click relative to an absolute position, since that is what the MOUSEX and MOUSEY functions return.