Skip to content

Instantly share code, notes, and snippets.

@HamousOnWheels
Created April 15, 2018 14:17
Show Gist options
  • Select an option

  • Save HamousOnWheels/b286dafbcb9acba6ea8050bce13cf303 to your computer and use it in GitHub Desktop.

Select an option

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.
& "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