Jump to content

Recommended Posts

Posted

Hallo

I have a Media Laptop (I use it to show movies with a beamer) which has Windows 10 on it and SSH (Bitvise SSH Server).

On my MacBook (OS 10.11.6) I use the great tool cliclick to make mouse moves and clicks and other useful things. But on Windows there is not such thing as cliclick.
Now I wonder if not a command line argument with AutoIt could help here. A script where I can pass parameters and then mouse clicks etc. are done.
The script should be running through ssh or at least with ssh and psexec (from Sysinternals) to throw the AutoIt-Script.

I normally used AutoHotkey and not AutoIt, therefore I already asked that same question in the AutoHotkey forum. No answer since yet. But if this is possibly done with AutoIt, I will use AutoIt then.

Thanks in advance for an answer.

Frank

Posted
On 2/5/2020 at 11:51 AM, franc said:

Hallo

I have a Media Laptop (I use it to show movies with a beamer) which has Windows 10 on it and SSH (Bitvise SSH Server).

On my MacBook (OS 10.11.6) I use the great tool cliclick to make mouse moves and clicks and other useful things. But on Windows there is not such thing as cliclick.
Now I wonder if not a command line argument with AutoIt could help here. A script where I can pass parameters and then mouse clicks etc. are done.
The script should be running through ssh or at least with ssh and psexec (from Sysinternals) to throw the AutoIt-Script.

I normally used AutoHotkey and not AutoIt, therefore I already asked that same question in the AutoHotkey forum. No answer since yet. But if this is possibly done with AutoIt, I will use AutoIt then.

Thanks in advance for an answer.

Frank

Hi there Frank,

 

I'm no expert here, but if you do not provide some specific things what you are trying to do, not to mention that it could help if you have had started a code of some sort, you will get no answer.

Try this:

1. Start writing a code and then put it here for the guys to see.

2. Be more specific: What you want to achive and what apps do you want to run etc.

 

Hope you will get what you want.

  • 3 weeks later...
Posted

Never mind, in the AutoHotkey Forum I got the hint to use Nirsoft's nircmd.exe, which can do MouseClicks.
I tried this, but it didnt work.

Anyway, I stopped my efforts in this direction, I use a mini keyboard (as e.g. nr. 164036955545 on eb.), which is good enough.

 

Posted

Seems that you could execute a single mouse click via the command line with something like this:

AutoIt.exe /AutoIt3ExecuteLine MouseClick("left", <X>, <Y>)

where <X> and <Y> are the co-ordinates to click on... assuming AutoIt.exe is on your PATH

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

Posted

You could try debugging it yourself. Sheesh.

autoit3.exe /AutoIt3ExecuteLine "MouseClick('left', 0, 0)"

 

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...