Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

An AutoHotkey script to customize Surface Pro 3 pen buttons

Notifications You must be signed in to change notification settings

yowpark/StylusButtonGesture-AutoHotkey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows Stylus (Pen) Button Gesture .ahk

Script that makes gestures available when button hovering on Tablet PC.

Document

Korean

English

Objective

Windows allows you to use mouse gestures in various programs (StrokeIt, GestureSign). However, the stylus (pen) doesn't work with these gestures. This Program makes it by allowing mouse gestures during Hovering stylus(pen) with pressing button.

Demo

Alt text for your video

Install

Install AutoHotkey and run Pen.ahk. The Pen.ahk script will run only if the AHKHID.ahk script is in the same folder.

How to use

  • During Pen Hovering, press and hold the second button of the pen and execute the mouse gesture. The buttons in the mouse gesture program are based on right-click.
  • During Pen Hovering, double click the 2nd button make the {WIN + TAB} button pressed to activate the app switcher.

Algorithm

If the Pen is hovering on the screen in the WindowsOS, the mouse will follow to that coordinates. However, in Chrome and certain apps, the pen's coordinates and mouse's coordinates do not match, so they're set to move apart. Because of this, I made two coordinates matched.

Acknowledgements

About

An AutoHotkey script to customize Surface Pro 3 pen buttons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • AutoHotkey 100.0%