franc Posted February 5, 2020 Posted February 5, 2020 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
BogdanNicolescu Posted February 8, 2020 Posted February 8, 2020 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.
franc Posted February 27, 2020 Author Posted February 27, 2020 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.
seadoggie01 Posted February 27, 2020 Posted February 27, 2020 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 functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types
seadoggie01 Posted February 29, 2020 Posted February 29, 2020 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 functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now