0

I have an windows app and I want to send click event on it's window.

for example in android and using ADB.exe I use this code:

adb.exe shell input x,y

  • 2
    You might be looking for AHK = AutoHotKey. Btw. i would be surprised if there were .exe files running on Android. – TheUser1024 Jun 21 '14 at 9:17
  • 1
    @TheUser1024 AHK is writing a script. which I think counts as programming, and is probably as diffiult/easy as batch files, which can be harder than a regular programming language.. 'cos programming languages have compilers that give very precise error messages. i'm not sure that AHK does – barlop Jun 21 '14 at 9:20
  • You can with nircmd but I am not sure how – barlop Jun 21 '14 at 9:20
  • 1
    C:\nircmd>nircmd.exe sendkeypress a <-- that sends an 'a' to the current window, where it was written but as of writing i'm not sure how to get it to go to another window – barlop Jun 21 '14 at 9:21
1

The answer to this question heavily depends on how the term "programming" is defined.

In any case, you can simulate mouse input in Windows using various utilities available for download online, or alternatively using PowerShell. Both of these approaches could count as programming.

It should be fairly obvious that the only way of simulating mouse input without using anything that counts as programming would be using a mouse.

  • In my case AHK is a good tool. thank you – Ramin Firooz Jun 22 '14 at 0:43

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.