Simple brick wall - Forum

Forum Navigation
You need to log in to create posts and topics.

Simple brick wall

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

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.

rcohen has reacted to this post.
rcohen

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:
  • You need to login to have access to uploads.
rcohen has reacted to this post.
rcohen

@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.

rcohen has reacted to this post.
rcohen

I have an OLLLLLLDDD macro plugin. Don´t know if it is works

rcohen has reacted to this post.
rcohen

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 ...

 

 

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:
  • You need to login to have access to uploads.
luishp has reacted to this post.
luishp