Created
April 15, 2018 14:17
-
-
Save HamousOnWheels/b286dafbcb9acba6ea8050bce13cf303 to your computer and use it in GitHub Desktop.
Set wacom tablet orientation to left handed. For tablet models that don't reveal this setting in the driver.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| & "C:\Program Files\Tablet\Wacom\32\PrefUtil.exe" /backup "$ENV:UserProfile\Documents\WacomBackup.wacomprefs" | |
| (Get-Content $ENV:UserProfile\Documents\WacomBackup.wacomprefs).Replace('1</Orientation>' , | |
| '3</Orientation>' ) | | |
| Set-Content $ENV:UserProfile\Documents\WacomBackup.wacomprefs | |
| & "C:\Program Files\Tablet\Wacom\32\PrefUtil.exe" /restore /silent "$ENV:UserProfile\Documents\WacomBackup.wacomprefs" | |
| Wait-Process -Name PrefUtil #wait until prefutil is done. For some reason it's faster with the /silent switch | |
| Read-Host -Prompt "Done. Press Enter to exit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment