
Quote from rcohen on October 7, 2020, 8:58 pmI can't believe that this simple code is giving me such a problem. I'm needing an auto clicker that clicks on things that are NOT embedded into the pub. I engaged a keyboard shortcut to trigger the following subroutine. The pub has been tested as a normal window and a task tray process, both act the same.
Loop "1" "50" "[x]"
ClickMouse
Delay "1000"
EndloopThis works as long as the mouse is positioned inside the pub boundaries, but positions over say, a web site in chrome, and the loop won't work past the second iteration of the loop ;-o and locks up.
Anyone know a workaround?
Thanks
I can't believe that this simple code is giving me such a problem. I'm needing an auto clicker that clicks on things that are NOT embedded into the pub. I engaged a keyboard shortcut to trigger the following subroutine. The pub has been tested as a normal window and a task tray process, both act the same.
Loop "1" "50" "[x]"
ClickMouse
Delay "1000"
Endloop
This works as long as the mouse is positioned inside the pub boundaries, but positions over say, a web site in chrome, and the loop won't work past the second iteration of the loop ;-o and locks up.
Anyone know a workaround?
Thanks

Quote from Vadim on October 8, 2020, 7:53 amHello!
Maybe it's the antivirus? You can try to add the program to antivirus exceptions.
Try RacAutoIt3x 1.0 (Roman Avalos Castillo) plugin. RAC_MouseClick command.
Maybe this will work.
Hello!
Maybe it's the antivirus? You can try to add the program to antivirus exceptions.
Try RacAutoIt3x 1.0 (Roman Avalos Castillo) plugin. RAC_MouseClick command.
Maybe this will work.
Quote from PaulJonestindall on October 8, 2020, 8:03 amI had an occasion to write something similar to click a "start test" button of another program. Assuming you're trying to position the mouse cursor on the screen, outside of the pub, I used a rather old plugin from Ron Marie called rtFileSystemMgt that I purchased about 10 or 12 years ago.
What I ended up doing was actually resizing my program, repositioning the mouse cursor and then simulating the mouse click:
SetVar "[WindowWidth]" "42"
SetVar "[WindowHeight]" "42"
SetVar "[WindowLeft]" "0"
SetVar "[WindowTop]" "0"
SetVar "[rtInputVar1]" "80"
SetVar "[rtInputVar2]" "440"
rtSetMousePos2Screen
ClickMouseI can give you a copy of the plugin but you'd have to get with Ron Marie for the code to use it without the popup.
I hope this is of some help.
I had an occasion to write something similar to click a "start test" button of another program. Assuming you're trying to position the mouse cursor on the screen, outside of the pub, I used a rather old plugin from Ron Marie called rtFileSystemMgt that I purchased about 10 or 12 years ago.
What I ended up doing was actually resizing my program, repositioning the mouse cursor and then simulating the mouse click:
SetVar "[WindowWidth]" "42"
SetVar "[WindowHeight]" "42"
SetVar "[WindowLeft]" "0"
SetVar "[WindowTop]" "0"
SetVar "[rtInputVar1]" "80"
SetVar "[rtInputVar2]" "440"
rtSetMousePos2Screen
ClickMouse
I can give you a copy of the plugin but you'd have to get with Ron Marie for the code to use it without the popup.
I hope this is of some help.
Uploaded files:

Quote from luishp on October 8, 2020, 1:07 pm@rcohen regarding auto-clicking utilities this one is awesome:
https://portableapps.com/apps/utilities/tinytask_portableTinyTask allows for recording and playback of mouse movements and keyboard entries. Macros can be saved for later use, played back and even compiled into standalone EXEs.
@rcohen regarding auto-clicking utilities this one is awesome:
https://portableapps.com/apps/utilities/tinytask_portable
TinyTask allows for recording and playback of mouse movements and keyboard entries. Macros can be saved for later use, played back and even compiled into standalone EXEs.

Quote from albertomeyer on October 8, 2020, 5:36 pmI have an OLLLLLLDDD macro plugin. Don´t know if it is works
I have an OLLLLLLDDD macro plugin. Don´t know if it is works

Quote from rcohen on October 8, 2020, 5:47 pmHi guys, and thanks for the suggestion... this is only for a small in house thing. I have Ronnie's plugins and your OLLLLLDDD macro plugin Aberto ;-) If I get more time to put into this I may give those suggestions a shot, but I was hoping for a way to do it without another plugin ;-0 I was thinking that if sendkeys works as it does, that perhaps there was a way to remotely click the mouse already within ;-0
Boy I gotta say, after being away from the IDE of this software for so long... it's like learning to walk all over again ;-0
Thanks again for the feedback all ...
Hi guys, and thanks for the suggestion... this is only for a small in house thing. I have Ronnie's plugins and your OLLLLLDDD macro plugin Aberto ;-) If I get more time to put into this I may give those suggestions a shot, but I was hoping for a way to do it without another plugin ;-0 I was thinking that if sendkeys works as it does, that perhaps there was a way to remotely click the mouse already within ;-0
Boy I gotta say, after being away from the IDE of this software for so long... it's like learning to walk all over again ;-0
Thanks again for the feedback all ...
Quote from neodude2 on October 20, 2020, 1:57 pmFirst, close VisualNeo. Right click VisualNeo icon on your desktop/start menu and choose Run as administrator from the context menu. Now open my attached pub in VisualNeo and run it. Apps that aren't run as admin cannot send mouse clicks to foreign apps.
Code is exactly the same like yours but as I move the mouse around in the Chrome browser the app automatically clicks buttons, links, tabs.
First, close VisualNeo. Right click VisualNeo icon on your desktop/start menu and choose Run as administrator from the context menu. Now open my attached pub in VisualNeo and run it. Apps that aren't run as admin cannot send mouse clicks to foreign apps.
Code is exactly the same like yours but as I move the mouse around in the Chrome browser the app automatically clicks buttons, links, tabs.
Uploaded files: