I think it should work on most touchscreen Win 8 devices, at least where the touchscreen has the class name "HID-compliant touch screen".
Generally the code can be used to quickly disable & enable any device in the device-manager.
It can disable and enable the device with the hotkey "Win + 1" or via double click on the tray icon.
Additional you'll need DevManView and place the .exe in "C:\Windows\System32".
If you want to change the name/ID, run DevManView and search for your device and use it's "Device Name" or "Device Instance ID". For other posibillities check the DevManView website for command-line options.
You can also place the script/exe into autostart so it'll be always aviable.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; #NoTrayicon
Menu, Tray, Icon, tray.ico,1 ; enabled icon
Menu, Tray, NoStandard
Menu, Tray, Add, Toggle Touch, Toggle ; adding tray-icon click option
Menu, Tray, Add,
Menu, Tray, Standard
Menu, Tray, Default, Toggle Touch
Disabled:=0
Toggle: ; double click tray icon to disable/enable
#1:: ; Hotkey to disable/enable
if (Disabled=0) {
Run C:\Windows\System32\DevManView.exe /disable "HID-compliant touch screen" ; path to DevManView and disable device with this name/ID
Disabled:=1
Menu, Tray, Icon , trayd.ico,,1 ; disabled icon
ToolTip, Touchscreen disabled ; little tooltip displayed to visualize the current action
SetTimer, RemoveToolTip, 3000
return
}
else {
Run C:\Windows\System32\DevManView.exe /enable "HID-compliant touch screen" ; path to DevManView and enable device with this name/ID
Disabled:=0
Menu, Tray, Icon , tray.ico,,1 ; enabled icon
ToolTip, Touchscreen enabled ; little tooltip displayed to visualize the current action
SetTimer, RemoveToolTip, 3000
return
}
RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return
Download script, exe & icons



Sign In
Create Account
Last active: Mar 26 2014 01:09 AM
Back to top