mikeyww wrote: ↑23 Jun 2021, 19:20
You haven't provided a clear description of exactly what should happen. I think that the scripts have met what you did describe. Instead of debugging and going through them line by line, you seem to want to just put them aside and try the next thing-- but I also do not know what the next thing is. It might help to step back and see what you really need. If you insert some "debugging" lines in the scripts to see what is happening step by step, it may also help you to see where any of the scripts might be going wrong. An alternative could be providing a simple description, step by step, of what should happen: "First, click on __, __, and insert text ____; second, click on ___, ___ and insert text ___", and so on. Perhaps you want others to step in at this point, since I have not had a lot of luck here! I actually do not understand your need well, as it seems that the script is just clicking at the same place and then sending different text each time-- so I do not get it, unfortunately. Sorry about that.
Sorry I thought I had explained what I needed but basically its this in a loop:
Mouseclick on coordinate 1
paste Data from Cell A1
Mouseclick on coordinate 2
paste Data from Cell B1
then does a set of procedures to long to paste here
repeat loop:...
Mouseclick on coordinate 1
paste Data from Cell A2
Mouseclick on coordinate 2
paste Data from Cell B2
then does a set of procedures to long to paste here
repeat loop:...
Mouseclick on coordinate 1
paste Data from Cell A3
Mouseclick on coordinate 2
paste Data from Cell B3
then does a set of procedures to long to paste here
See how the list runs down column A and B, basically it just keeps going until there's nothing left to paste in. Does that make sense?