Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Osklib/Windows10OnScreenKeyboardController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ public override bool IsOpened()

private static void StartTabTip()
{
ProcessStartInfo psi = new ProcessStartInfo(@"C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe")
ProcessStartInfo psi = new ProcessStartInfo(System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "cmd.exe"))
{
UseShellExecute = true
CreateNoWindow = true,
UseShellExecute = false,
Arguments = "/c \"C:\\Program Files\\Common Files\\microsoft shared\\ink\\TabTip.exe\""
};

var p = Process.Start(psi);
Expand Down