Can I emulate a mouse with my pen?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
AtleastItried
Posts: 51
Joined: 03 Mar 2017, 04:51

Can I emulate a mouse with my pen?

29 Sep 2018, 09:11

I have a fairly simple goal: Make my Surface pen act like a mouse when I'm pressing it onto my screen.

Right now, some things are impossible to do in windows with only a pen and a touchscreen, especially when it comes to the web. An example would be google calendar, where ever since the pen behaviour was changed, you can't reorder old things. With a mouse, you can just drag them, but without one you have no way of doing that.

What I have thought would be useful is a script that would essentially see where I put the pen down, prevents that, and when I drag it it emulates mouse input. But here I have run into problems:

[*]How do I trigger something when my pen is touching the screen? There is a way for left clicking (#LButton::), but I can't find anything about the pen.
[*]How can I update my mouse location while draggin the pen?

I would be very happy if someone could help me with those two points.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Joey5 and 205 guests