TechTablets › Forums › Cube Forums › Cube i9 Forum › AutoHotkey script to disable / modify touchpad gestures
- This topic has 8 replies, 3 voices, and was last updated 6 years, 7 months ago by
wamps.
-
AuthorPosts
-
November 23, 2016 at 8:33 pm #57366
I’ve received two reports on XDA that my script is not working for others. It seems to work only for me.
I will post updates here too if I find a fix.
November 27, 2016 at 11:22 am #57575The problem with my previous script turned out to be the 64-bit version of AutoHotkey. The 32-bit version of AutoHotkey will run the script just fine.
This new version of the script will detect 64-bit installs and will display a warning message. It will then continue to run in “dumb mode” where it will convert both the gestures from the touchpad and identical key combinations from the keyboard. To get rid of the warning message, reinstall AutoHotkey and choose “Custom Installation -> Unicode 32-bit” during installation.
For more information, including full changelog, read my updated post on XDA.
Attachments:
You must be logged in to view attached files.December 4, 2016 at 12:03 am #58037This is extremely helpful and efective for disablying the annoying touchpad gestures or adding the ones you prefer. I just wanted to say thank you!
The script is really well explained too, so I was able to modify your code without problems 🙂
One possible upgrade: setting the script to run everytime you boot your tablet. What do you need to do?
- Copy the script file to a location you won’t change
- Create a shorcut
- Move the shorcut to the folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
- Done! Now the script will run every time you boot windows and you will have the gestures disabled!
December 4, 2016 at 12:11 pm #58049I’m glad you like the script. And I am even happier that you were able to modify it to your needs.
What changes did you make? The default settings are mostly useful for browsing the internet, but there might be better settings that I didn’t think of.
And is it OK if I add your auto-startup instructions in a next version of the script? It is a really useful addition.
December 5, 2016 at 11:21 am #58102I basically disabled most of the gestures. I don’t like the edge gestures with one finger because I sometimes trigger them by accident. I also disabled the 2-finger gesture right and left because I was triggering them when trying to scroll down and up. I changed the 3-finger gestures, right to mute/unmute volume and left to open calculator app.
Of course you can add the auto-startup instructions to any of your posts or script! Free to share 😉
I have one question about the script… do you know why the 3-finger gestures also trigger “by default” the back and forward at the browser? If I do the gesture quickly it will do the desired function, but if I do it slow it will be like hitting the back or forward buttons of the browser several times, even if I try to disable all gestures in the script…
December 5, 2016 at 10:21 pm #58123The three finger swipes activate the task switcher. They send the Alt-Tab and Alt-Shift-Tab key combinations. I have never used those key shortcuts very much, and when I did I would do a Alt-Tab-Tab-Tab (keeping the Alt key down) to select the next windows. The Cube keyboard sends Alt-Tab-Right-Right (keeping the Alt key down as well) to select the next windows.
I the original version of the script I added a line to ignore the Alt-Left an Alt-Right altogether. If this doesn’t work in your setup it might help if you add a Sleep 500 to the !Tab en +!Tab hotkeys. It worked on other places in the script, but to be honest I never really understood why.
December 7, 2016 at 12:20 am #58157I tried what you suggested, but it didn’t change the Alt-Left nor Alt-Right. Anyways, you have to do it quite slow to trigger the undesired gesture, so it shouldn’t be a problem.
I was just curious about why the same gesture triggers 2 different functions…
November 7, 2019 at 9:51 am #182011Hi, I have a chuwi ubook that i got from kickstarter. I used autohotkey for the annoying trackpad gestures for the first few months. but lately it is not working anymore.. I have tried installing the program again and it still fails
-
AuthorPosts
- You must be logged in to reply to this topic.

