Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.physics > #693499 > unrolled thread
| Started by | Jeff-Relf.Me @. |
|---|---|
| First post | 2018-07-10 13:52 -0700 |
| Last post | 2018-07-31 20:18 -0700 |
| Articles | 20 on this page of 23 — 10 participants |
Back to article view | Back to sci.physics
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Jeff-Relf.Me @. - 2018-07-10 13:52 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. % <persent@gmail.com> - 2018-07-10 13:56 -0700
ReKilling Cortana zombies. Jeff-Relf.Me @. - 2018-07-13 01:47 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Storage Unit <storage.unit@mailinator.com> - 2018-07-15 22:01 -0500
As I get older, I give fewer and fewer fucks. Jeff-Relf.Me @. - 2018-07-15 22:09 -0700
If the keyboard doesn't come up right away. Jeff-Relf.Me @. - 2018-07-16 06:12 -0700
ITipInvocation.Toggle() fails BIG TIME if it's called more than once a second. Jeff-Relf.Me @. - 2018-07-23 03:12 -0700
I'm narrowing it down, hopefully. Jeff-Relf.Me @. - 2018-07-23 16:34 -0700
InputApp and TabTIP are _always_ killed. Jeff-Relf.Me @. - 2018-07-25 05:48 -0700
Kill&ReStart the "touch keyboard" before bringing it "up" ( on screen ). Jeff-Relf.Me @. - 2018-07-28 12:31 -0700
Kill&ReStart the "touch keyboard" before bringing it "up" ( on screen ). Jeff-Relf.Me @. - 2018-07-30 06:15 -0700
Re: Another fail, another post... "Colonel Edmund J. Burke" <burkesbabes@bigass-babes.com> - 2018-07-25 07:00 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2018-07-16 16:05 +0000
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Paavo Helde <myfirstname@osa.pri.ee> - 2018-07-16 19:31 +0300
Switch SysFolders to Short, Friendly Paths, all under "C:\__" ( Home ). Jeff-Relf.Me @. - 2018-07-16 10:15 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Storage Unit <storage.unit@mailinator.com> - 2018-07-17 05:32 -0500
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. % <Persent@gmail.com> - 2018-07-18 06:23 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. "reber G=emc^2" <herbertglazier0@gmail.com> - 2018-07-22 10:43 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. "hanson" <hanson@quick.net> - 2018-07-22 11:06 -0700
You can convert your speech into text, instead of typing. Jeff-Relf.Me @. - 2018-07-22 11:48 -0700
Re: You can convert your speech into text, instead of typing. Double-A <double-a3@hush.com> - 2018-07-22 16:22 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. "reber G=emc^2" <herbertglazier0@gmail.com> - 2018-07-31 19:46 -0700
NewsPapers and HandWritten letters are still good; just not as good. Jeff-Relf.Me @. - 2018-07-31 20:18 -0700
Page 1 of 2 [1] 2 Next page →
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-10 13:52 -0700 |
| Subject | Toggling "Touch Keyboard" On/Off, Firefox and Chrome. |
| Message-ID | <Jeff-Relf.Me@Jul.10--1.52pm.Seattle.2018> |
Previously, I wrote:
> I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length,
> in bed; but, with no real desk or touch screen,
> hardware keyboards are a major pain in the ass.
>
> So I was thrilled by the "Touch Keyboard" recently introduced
> to the Windows 10, MouseOnly DesktopMode;
> what's more, it lets me (voice) dictate text.
>
> Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys"
> ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ):
>
> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off.
> Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep).
Compared to other apps, Firefox and Chrome are very picky
about how they interact with the Touch Keyboard;
so " Show Touch Keyboard button ", in SysTray, Must be Enabled.
"Randomly", the keyboard is slow to come up; I'm working on it.
HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ;
...
TaskBar = FindWindow( L"Shell_TrayWnd", 0 );
SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 );
Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 );
....
RegisterHotKey(
Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' );
....
if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' )
Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ),
PostMessage( Keyboard, WM_LBUTTONDOWN, 0, 0 ),
PostMessage( Keyboard, WM_LBUTTONUP, 0, 0 );
[toc] | [next] | [standalone]
| From | % <persent@gmail.com> |
|---|---|
| Date | 2018-07-10 13:56 -0700 |
| Message-ID | <bdvs33.snl.19.2@news.alt.net> |
| In reply to | #693499 |
On 2018-07-10 1:52 PM, Jeff-Relf.Me@. wrote: > Previously, I wrote: >> I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length, >> in bed; but, with no real desk or touch screen, >> hardware keyboards are a major pain in the ass. >> >> So I was thrilled by the "Touch Keyboard" recently introduced >> to the Windows 10, MouseOnly DesktopMode; >> what's more, it lets me (voice) dictate text. >> >> Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys" >> ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ): >> >> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off. >> Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep). > > Compared to other apps, Firefox and Chrome are very picky > about how they interact with the Touch Keyboard; > so " Show Touch Keyboard button ", in SysTray, Must be Enabled. > > "Randomly", the keyboard is slow to come up; I'm working on it. > > HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ; > ... > TaskBar = FindWindow( L"Shell_TrayWnd", 0 ); > SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 ); > Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 ); > .... > RegisterHotKey( > Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' ); > .... > if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' ) > Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ), > PostMessage( Keyboard, WM_LBUTTONDOWN, 0, 0 ), > PostMessage( Keyboard, WM_LBUTTONUP, 0, 0 ); > wait until you see what a real computer can do
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-13 01:47 -0700 |
| Subject | ReKilling Cortana zombies. |
| Message-ID | <Jeff-Relf.Me@Jul.13--1.47am.Seattle.2018> |
| In reply to | #693499 |
Previously, I wrote:
> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off.
> "Randomly", the keyboard is slow to come up; I'm working on it.
The fix was to ReKill Cortana.
Windows Update brings Cortana back from the dead, as a zombie;
Zombie Cortana then randomly blocks "Touch Keyboard".
Find the Cortana process in the TaskManager -> "Open File Location".
ReTake, ReGain ownership of the Cortana folder.
Try to rename the folder [ a prompt will come up ];
kill Cortana so you can _Quickly_ hit "Try again",
thus renaming it before Cortana returns from the dead.
Copy Over a TextFile and give it the same name as the Cortana folder,
so (hopefully) the folder won't get ReCreated.
Merge the following into the registry and ReBoot:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:0
[toc] | [prev] | [next] | [standalone]
| From | Storage Unit <storage.unit@mailinator.com> |
|---|---|
| Date | 2018-07-15 22:01 -0500 |
| Message-ID | <0eet1f-5ld.ln1@news.neodome.net> |
| In reply to | #693499 |
Jeff-Relf.Me @. writes:
> Previously, I wrote:
>> I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length,
>> in bed; but, with no real desk or touch screen,
>> hardware keyboards are a major pain in the ass.
>>
>> So I was thrilled by the "Touch Keyboard" recently introduced
>> to the Windows 10, MouseOnly DesktopMode;
>> what's more, it lets me (voice) dictate text.
>>
>> Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys"
>> ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ):
>>
>> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off.
>> Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep).
>
> Compared to other apps, Firefox and Chrome are very picky
> about how they interact with the Touch Keyboard;
> so " Show Touch Keyboard button ", in SysTray, Must be Enabled.
>
> "Randomly", the keyboard is slow to come up; I'm working on it.
>
> HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ;
> ...
> TaskBar = FindWindow( L"Shell_TrayWnd", 0 );
> SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 );
> Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 );
> ....
> RegisterHotKey(
> Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' );
> ....
> if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' )
> Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Things like that are the reason why Windows programs suddenly break when
something is not installed to default location.
By the way, Jeff, why no HTML posts anymore?
> PostMessage( Keyboard, WM_LBUTTONDOWN, 0, 0 ),
> PostMessage( Keyboard, WM_LBUTTONUP, 0, 0 );
--
Emacs OS
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-15 22:09 -0700 |
| Subject | As I get older, I give fewer and fewer fucks. |
| Message-ID | <Jeff-Relf.Me@Jul.15--10.09pm.Seattle.2018> |
| In reply to | #694075 |
"Storage_Unit" [sic] replied to me : > > if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' ) > > Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ), > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Things like that are the reason why Windows programs suddenly break > when something is not installed to default location. Amen to that, it's a _damn_serious_ problem. My code, on the other hand, affects no one but me. > By the way, Jeff, why no HTML posts anymore? <PRE> is thee _only_ way to post a "table" (report); otherwise, it won't display properly on Google Groups. As I get older, I give fewer and fewer fucks.
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-16 06:12 -0700 |
| Subject | If the keyboard doesn't come up right away. |
| Message-ID | <Jeff-Relf.Me@Jul.16--6.12am.Seattle.2018> |
| In reply to | #694083 |
Correction...
The "random delay" thing is still happening; my latest attempt:
#include <InitGuid.H>
typedef LARGE_INTEGER DubInt ; unsigned __int64 u64 ;
u64 _Tics, Hz ; double _Secs, _Hz ;
#define Tics ( QueryPerformanceCounter( ( DubInt * ) & _Tics ), _Tics )
#define Secs ( _Secs = Tics / _Hz )
QueryPerformanceFrequency( ( DubInt * ) & Hz ), _Hz = Hz ;
DEFINE_GUID( CLSID_UIHostNoLaunch, // 4ce576fa-83dc-4F88-951c-9d0782b4e376
0x4CE576FA, 0x83DC, 0x4f88, 0x95, 0x1C, 0x9D, 0x07, 0x82, 0xB4, 0xE3, 0x76);
DEFINE_GUID( IID_ITipInvocation, // 37c994e7_432b_4834_a2f7_dce1f13b834b
0x37c994e7, 0x432b, 0x4834, 0xa2, 0xf7, 0xdc, 0xe1, 0xf1, 0x3b, 0x83, 0x4b);
struct ITipInvocation : IUnknown {
virtual HRESULT STDMETHODCALLTYPE Toggle(HWND wnd) = 0; };
if ( WM == WM_HOTKEY && C == 'K' ) {
int Cnt = 1 ; static double Mark ; HWND Keyboard ;
ITipInvocation * VirKeyboard ;
// Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off.
// If the keyboard doesn't come up right away,
// toggle 3 times in less than 3 seconds.
!Mark || Secs > Mark + 3 ? Mark = Secs, Cnt = 1 : ++Cnt > 3
? Mark = Secs, Cnt = 1,
Keyboard = FindWindow( 0, L"Microsoft Text Input Application" ),
Keyboard ? SendMessage( Keyboard, WM_SYSCOMMAND, SC_CLOSE, 0 ) : 0,
Launch( L"/Windows/SystemApps/InputApp_cw5n1h2txyewy/"
L"WindowsInternal.ComposableShell.Experiences.TextInput.InputApp.EXE"
) : 0 ;
if ( CoCreateInstance( CLSID_UIHostNoLaunch, 0,
CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER,
IID_ITipInvocation, (void**)&VirKeyboard ) )
Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" );
else VirKeyboard->Toggle( GetDesktopWindow() ), VirKeyboard->Release(); }
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-23 03:12 -0700 |
| Subject | ITipInvocation.Toggle() fails BIG TIME if it's called more than once a second. |
| Message-ID | <Jeff-Relf.Me@Jul.23--3.12am.Seattle.2018> |
| In reply to | #694116 |
stackoverflow.com/questions/50623154/c-sharp-wpf-windows-10-1803-touchkeyboard-unreliable-issue-prism-clickonce
ITipInvocation.Toggle() fails* if it's called more than once a second; so:
[ *: BIG TIME; long stalls, Explorer ReStarts, etc. ]
typedef LARGE_INTEGER DubInt ; unsigned __int64 u64 ;
u64 _Tics, Hz ; double _Secs, _Hz ;
#define Tics ( QueryPerformanceCounter( ( DubInt * ) & _Tics ), _Tics )
#define Secs ( _Secs = Tics / _Hz )
// CoInitialize(0), QueryPerformanceFrequency( (DubInt *) &Hz ), _Hz = Hz ;
if ( WM == WM_HOTKEY && C == 'K' ) { // A mouse button takes me here.
static double Mark ;
// Ensure that 1 second has passed since the last keyboard toggle:
Secs < Mark + 1 ? Sleep( 999 - 999*( _Secs - Mark ) ) : 0, Mark = _Secs ;
static const GUID CLSID_UIHostNoLaunch = { 0x4CE576FA, 0x83DC, 0x4f88,
0x95, 0x1C, 0x9D, 0x07, 0x82, 0xB4, 0xE3, 0x76 };
static const GUID IID_ITipInvocation = { 0x37c994e7, 0x432b, 0x4834,
0xa2, 0xf7, 0xdc, 0xe1, 0xf1, 0x3b, 0x83, 0x4b };
struct ITipInvocation : IUnknown { virtual HRESULT STDMETHODCALLTYPE
Toggle( HWND wnd ) = 0; } * KB = 0 ;
CoCreateInstance( CLSID_UIHostNoLaunch, 0, CLSCTX_INPROC_HANDLER |
CLSCTX_LOCAL_SERVER, IID_ITipInvocation, (void**) & KB );
// Toggle the keyboard ( Firefox and Chrome require this ):
KB ? KB->Toggle( GetDesktopWindow() ), KB->Release() : 0 ; }
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-23 16:34 -0700 |
| Subject | I'm narrowing it down, hopefully. |
| Message-ID | <Jeff-Relf.Me@Jul.23--4.34pm.Seattle.2018> |
| In reply to | #695144 |
stackoverflow.com/questions/50623154/c-sharp-wpf-windows-10-1803-touchkeyboard-unreliable-issue-prism-clickonce
I'm narrowing it down, hopefully.
To toggle the keyboard on and off:
if ( WM == WM_HOTKEY && C == 'K' ) { // A mouse button takes me here.
static double Mark ; // Jeff-Relf.Me/g600.PNG
// "TabTIP.EXE" ( Tablet Touch Input Pane ) must be invoked at least once;
// it needs to be launched periodically as well, I think,
// but I'm not sure how often; more than once a minute is bad, I think.
Secs > Mark + 60 ?
Launch( L"%CommonProgramW6432%/microsoft shared/ink/TabTIP.EXE" ),
Mark = _Secs : 0;
static const GUID CLSID_UIHostNoLaunch = { 0x4CE576FA, 0x83DC, 0x4f88,
0x95, 0x1C, 0x9D, 0x07, 0x82, 0xB4, 0xE3, 0x76 };
static const GUID IID_ITipInvocation = { 0x37c994e7, 0x432b, 0x4834,
0xa2, 0xf7, 0xdc, 0xe1, 0xf1, 0x3b, 0x83, 0x4b };
struct ITipInvocation : IUnknown { virtual HRESULT STDMETHODCALLTYPE
Toggle( HWND wnd ) = 0; } * KB = 0 ;
CoCreateInstance( CLSID_UIHostNoLaunch, 0, CLSCTX_INPROC_HANDLER |
CLSCTX_LOCAL_SERVER, IID_ITipInvocation, (void**) & KB );
// Toggle the keyboard ( Firefox and Chrome require this ):
KB ? KB->Toggle( GetDesktopWindow() ), KB->Release() : 0 ; }
......
typedef LARGE_INTEGER DubInt ; unsigned __int64 u64 ;
u64 _Tics, Hz ; double _Secs, _Hz ;
#define Tics ( QueryPerformanceCounter( ( DubInt * ) & _Tics ), _Tics )
#define Secs ( _Secs = Tics / _Hz )
// CoInitialize(0), QueryPerformanceFrequency( (DubInt *) &Hz ), _Hz = Hz ;
Launch( wchar *Cmd ) { wchar _Cmd[333]; static PROCESS_INFORMATION Stat ;
static STARTUPINFO SU = { sizeof SU };
SetEnvironmentVariable( L"__compat_layer", L"RunAsInvoker" );
ExpandEnvironmentStrings( Cmd, _Cmd, 333 ), Cmd = _Cmd ;
if ( CreateProcess( 0, Cmd, 0,0,1,0,0,0, &SU , &Stat ) )
CloseHandle( Stat.hProcess ), CloseHandle( Stat.hThread ); }
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-25 05:48 -0700 |
| Subject | InputApp and TabTIP are _always_ killed. |
| Message-ID | <Jeff-Relf.Me@Jul.25--5.48am.Seattle.2018> |
| In reply to | #695273 |
stackoverflow.com/questions/50623154/c-sharp-wpf-windows-10-1803-touchkeyboard-unreliable-issue-prism-clickonce
When the keyboard toggle ( ITipInvocation.Toggle() )
doesn't work for a minute ( Win10 Ver 1803 ),
killing "...TextInput.InputApp.EXE" is the fix.
So, to toggle the keyboard on and off ( from X.CPP in Jeff-Relf.Me/X.ZIP ):
if ( WM == WM_HOTKEY && C == 'K' ) {
// A mouse button takes me here. Jeff-Relf.Me/g600.PNG
static const GUID CLSID_UIHostNoLaunch = { 0x4CE576FA, 0x83DC, 0x4f88,
0x95, 0x1C, 0x9D, 0x07, 0x82, 0xB4, 0xE3, 0x76 };
static const GUID IID_ITipInvocation = { 0x37c994e7, 0x432b, 0x4834,
0xa2, 0xf7, 0xdc, 0xe1, 0xf1, 0x3b, 0x83, 0x4b };
static struct ITipInvocation : IUnknown { virtual HRESULT STDMETHODCALLTYPE
Toggle( HWND wnd ) = 0; } * KB ;
#define ToggleKB ( KB = 0, CoCreateInstance( CLSID_UIHostNoLaunch, \
0, CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER, \
IID_ITipInvocation, (void**) & KB ), \
KB ? KB->Toggle( GetDesktopWindow() ), KB->Release() : 0 )
// InputApp and TabTIP are _always_ killed.
// IfAndOnlyIf InputApp _was_ running:
// The keyboard was up, and ToggleKB worked,
// taking the keyboard down ( Firefox&Chrome require ToggleKB ).
if ( ToggleKB, KillProc = 1, Running( L"TabTIP.EXE" ),
KillProc = 1, !Running( L"WindowsInternal.ComposableShell"
L".Experiences.TextInput.InputApp.EXE" ) )
// InputApp was _not_ running,
// launch "TabTIP" ( Tablet Touch Input Pane ):
Launch( L"%CommonProgramFiles%/microsoft shared/ink/TabTIP.EXE" ),
// Wait first (important),
// then bring the keyboard up ( Firefox&Chrome require ToggleKB ):
Sleep(99), ToggleKB ; }
. . . . . . .
// To get the process list, and kill stuff:
#include <tlhelp32.H>
int KillProc ;
int Running( LnP EXE ) { int Found ; HANDLE PIDs, aProc ;
PROCESSENTRY32 aPID = { sizeof aPID };
PIDs = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );
Process32First( PIDs, &aPID );
while ( Found = Eqi( aPID.szExeFile, EXE ),
KillProc && Found && (
aProc = OpenProcess( PROCESS_TERMINATE, 0, aPID.th32ProcessID ),
aProc ? TerminateProcess( aProc, 9 ), CloseHandle( aProc ) : 0 ),
!Found && Process32Next( PIDs, &aPID ) );
KillProc = 0, CloseHandle( PIDs ); return Found ; }
Launch( wchar *Cmd ) { wchar _Cmd[333]; static PROCESS_INFORMATION Stat ;
static STARTUPINFO SU = { sizeof SU };
SetEnvironmentVariable( L"__compat_layer", L"RunAsInvoker" );
ExpandEnvironmentStrings( Cmd, _Cmd, 333 ), Cmd = _Cmd ;
if ( CreateProcess( 0, Cmd, 0,0,1,0,0,0, &SU , &Stat ) )
CloseHandle( Stat.hProcess ), CloseHandle( Stat.hThread ); }
// CoInitialize(0);
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-28 12:31 -0700 |
| Subject | Kill&ReStart the "touch keyboard" before bringing it "up" ( on screen ). |
| Message-ID | <Jeff-Relf.Me@Jul.28--0.31pm.Seattle.2018> |
| In reply to | #695508 |
https://stackoverflow.com/questions/38774139/show-touch-keyboard-tabtip-exe-in-windows-10-anniversary-edition#51376030
The keyboard toggle ( ITipInvocation.Toggle() )
does _ N O T _ always bring up the "touch keyboard"
( Win10 DesktopMode Ver 1803 ).
The solution: use IFrameworkInputPane.Location() to see if the keyboard
is "down" ( off screen ) and, if it is, kill the keyboard processes
and relaunch them before bringing it "up" ( on screen ) again.
This solution has been tested by me, over several days,
and confirmed to work every time, no ( R A N D O M ) stalling.
To toggle the keyboard on and off ( from X.CPP in Jeff-Relf.Me/X.ZIP ):
if ( WM == WM_HOTKEY && C == 'K' ) {
// A mouse button takes me here. Jeff-Relf.Me/g600.PNG
unsigned __int64 u[2] ; IFrameworkInputPane *Loc ;
Loc = 0, CoCreateInstance( CLSID_FrameworkInputPane, 0,
CLSCTX_INPROC_SERVER, IID_IFrameworkInputPane, (void**) & Loc );
// "__int64 u[2]" is the same size as "RECT";
// both are four 32 bit ints: top, left, bottom, right.
if ( !Loc || ( Loc->Location( (RECT*)&u ), Loc->Release(), !*u && !u[1] ) )
// The keyboard is "down" ( off screen ),
// Kill&ReStart it before bringing it "up" ( on screen ).
KillProc = 1, Running( L"TabTIP.EXE" ), KillProc = 1, Running(
L"WindowsInternal.ComposableShell.Experiences.TextInput.InputApp.EXE" ),
Launch( L"%CommonProgramFiles%/microsoft shared/ink/TabTIP.EXE" ),
Sleep(99);
static const GUID CLSID_UIHostNoLaunch = { 0x4CE576FA, 0x83DC, 0x4f88,
0x95, 0x1C, 0x9D, 0x07, 0x82, 0xB4, 0xE3, 0x76 };
static const GUID IID_ITipInvocation = { 0x37c994e7, 0x432b, 0x4834,
0xa2, 0xf7, 0xdc, 0xe1, 0xf1, 0x3b, 0x83, 0x4b };
static struct ITipInvocation : IUnknown { virtual HRESULT
STDMETHODCALLTYPE Toggle( HWND wnd ) = 0 ; } * Tog ;
Tog = 0, CoCreateInstance( CLSID_UIHostNoLaunch, 0, CLSCTX_INPROC_HANDLER
| CLSCTX_LOCAL_SERVER, IID_ITipInvocation, (void**) & Tog );
// Toggle the keyboard On|Off:
Tog ? Tog->Toggle( GetDesktopWindow() ), Tog->Release() : 0 ; }
- - - - - - - - - - - - -
// Poorly documented, "NTDDI_WIN10" is _vital_:
#define NTDDI_VERSION NTDDI_WIN10
// To get the process list, and kill stuff:
#include <tlhelp32.H>
// To know if the keyboard is up or not:
#include <ShObjIdl.H>
int KillProc ;
int Running( wchar * EXE ) { int Found ; HANDLE PIDs, aProc ;
PROCESSENTRY32 aPID = { sizeof aPID };
PIDs = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );
Process32First( PIDs, &aPID );
while ( Found = !strCmpI( aPID.szExeFile, EXE ),
KillProc && Found && (
aProc = OpenProcess( PROCESS_TERMINATE, 0, aPID.th32ProcessID ),
aProc ? TerminateProcess( aProc, 9 ), CloseHandle( aProc ) : 0 ),
!Found && Process32Next( PIDs, &aPID ) );
KillProc = 0, CloseHandle( PIDs ); return Found ; }
Launch( wchar * Cmd ) { wchar _Cmd[333]; static PROCESS_INFORMATION Stat ;
static STARTUPINFO SU = { sizeof SU };
SetEnvironmentVariable( L"__compat_layer", L"RunAsInvoker" );
ExpandEnvironmentStrings( Cmd, _Cmd, 333 ), Cmd = _Cmd ;
if ( CreateProcess( 0, Cmd, 0,0,1,0,0,0, &SU , &Stat ) )
CloseHandle( Stat.hProcess ), CloseHandle( Stat.hThread ); }
// CoInitialize(0);
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-30 06:15 -0700 |
| Subject | Kill&ReStart the "touch keyboard" before bringing it "up" ( on screen ). |
| Message-ID | <Jeff-Relf.Me@Jul.30--6.15am.Seattle.2018> |
| In reply to | #696071 |
https://stackoverflow.com/a/51376030/5732431
In Win10 Ver 1803, DesktopMode, there is no reliable way to
toggle the "Touch Keyboard" on|off [ ITipInvocation.Toggle() ];
nor can you _reliably_ discover if it's "up" ( on screen )
[ IFrameworkInputPane.Location() ]; both routines fail _randomly_.
Instead, ensure that "TabTIP.EXE" and "....InputApp.EXE"
only run when the keyboard is "up" ( on screen ).
To toggle the keyboard on and off ( from X.CPP in Jeff-Relf.Me/X.ZIP ):
if ( WM == WM_HOTKEY && C == 'K' ) {
// A mouse button takes me here. Jeff-Relf.Me/g600.PNG
if ( KillProc = 1, Running( L"TabTIP.EXE" ), KillProc = 1, Running(
L"WindowsInternal.ComposableShell.Experiences.TextInput.InputApp.EXE"
) )
// The keyboard was _On_ ( i.e. its processes were running ),
// so it was "turned _Off_" (killed); and we're done.
goto Done ;
// The keyboard was _Off_ ( i.e. no running processes ).
// Turn it _On_:
Launch( L"%CommonProgramFiles%/microsoft shared/ink/TabTIP.EXE" );
Sleep(99);
static const GUID CLSID_UIHostNoLaunch = { 0x4CE576FA, 0x83DC,
0x4f88, 0x95, 0x1C, 0x9D, 0x07, 0x82, 0xB4, 0xE3, 0x76 };
static const GUID IID_ITipInvocation = { 0x37c994e7, 0x432b,
0x4834, 0xa2, 0xf7, 0xdc, 0xe1, 0xf1, 0x3b, 0x83, 0x4b };
static struct ITipInvocation : IUnknown { virtual HRESULT
STDMETHODCALLTYPE Toggle( HWND wnd ) = 0 ; } * Tog ;
Tog = 0, CoCreateInstance( CLSID_UIHostNoLaunch, 0, CLSCTX_INPROC_HANDLER
| CLSCTX_LOCAL_SERVER, IID_ITipInvocation, (void**) & Tog );
// Firefox and Chrome need this:
Tog ? Tog->Toggle( GetDesktopWindow() ), Tog->Release() : 0 ; }
- - - - - - - - - - - - -
// To get the process list, and kill stuff:
#include <tlhelp32.H>
int KillProc ;
int Running( wchar * EXE ) { int Found ; HANDLE PIDs, aProc ;
PROCESSENTRY32 aPID = { sizeof aPID };
PIDs = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );
Process32First( PIDs, &aPID );
while ( Found = !strCmpI( aPID.szExeFile, EXE ),
KillProc && Found && (
aProc = OpenProcess( PROCESS_TERMINATE, 0, aPID.th32ProcessID ),
aProc ? TerminateProcess( aProc, 9 ), CloseHandle( aProc ) : 0 ),
!Found && Process32Next( PIDs, &aPID ) );
KillProc = 0, CloseHandle( PIDs ); return Found ; }
Launch( wchar * Cmd ) { wchar _Cmd[333]; static PROCESS_INFORMATION Stat ;
static STARTUPINFO SU = { sizeof SU };
SetEnvironmentVariable( L"__compat_layer", L"RunAsInvoker" );
ExpandEnvironmentStrings( Cmd, _Cmd, 333 ), Cmd = _Cmd ;
if ( CreateProcess( 0, Cmd, 0,0,1,0,0,0, &SU , &Stat ) )
CloseHandle( Stat.hProcess ), CloseHandle( Stat.hThread ); }
// CoInitialize(0);
[toc] | [prev] | [next] | [standalone]
| From | "Colonel Edmund J. Burke" <burkesbabes@bigass-babes.com> |
|---|---|
| Date | 2018-07-25 07:00 -0700 |
| Subject | Re: Another fail, another post... |
| Message-ID | <3o%5D.231681$la4.226578@fx10.iad> |
| In reply to | #694116 |
Quit poasting this horseshit, you anus!
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@gmail.com.dontsendmecopies> |
|---|---|
| Date | 2018-07-16 16:05 +0000 |
| Message-ID | <slrnpkpgik.13ie.g.kreme@Snow.local> |
| In reply to | #694075 |
In message <0eet1f-5ld.ln1@news.neodome.net> Storage Unit <storage.unit@mailinator.com> wrote: > Jeff-Relf.Me @. writes: >> Previously, I wrote: >>> I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length, >>> in bed; but, with no real desk or touch screen, >>> hardware keyboards are a major pain in the ass. >>> >>> So I was thrilled by the "Touch Keyboard" recently introduced >>> to the Windows 10, MouseOnly DesktopMode; >>> what's more, it lets me (voice) dictate text. >>> >>> Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys" >>> ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ): >>> >>> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off. >>> Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep). >> >> Compared to other apps, Firefox and Chrome are very picky >> about how they interact with the Touch Keyboard; >> so " Show Touch Keyboard button ", in SysTray, Must be Enabled. >> >> "Randomly", the keyboard is slow to come up; I'm working on it. >> >> HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ; >> ... >> TaskBar = FindWindow( L"Shell_TrayWnd", 0 ); >> SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 ); >> Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 ); >> .... >> RegisterHotKey( >> Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' ); >> .... >> if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' ) >> Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ), > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Things like that are the reason why Windows programs suddenly break when > something is not installed to default location. Are you even able to install microsoft crap in a custom location? Microsoft has been reliant on hard-coded paths since before Windows, and Windows 10 is no different. -- 'Winners never talk about glorious victories. That's because they're the ones who see what the battlefield looks like afterwards. It's only the losers who have glorious victories.' --Small Gods
[toc] | [prev] | [next] | [standalone]
| From | Paavo Helde <myfirstname@osa.pri.ee> |
|---|---|
| Date | 2018-07-16 19:31 +0300 |
| Message-ID | <piih9a$bps$1@dont-email.me> |
| In reply to | #694132 |
On 16.07.2018 19:05, Lewis wrote: > In message <0eet1f-5ld.ln1@news.neodome.net> Storage Unit <storage.unit@mailinator.com> wrote: >> Jeff-Relf.Me @. writes: >>> Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ), >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Things like that are the reason why Windows programs suddenly break when >> something is not installed to default location. > > Are you even able to install microsoft crap in a custom location? > > Microsoft has been reliant on hard-coded paths since before Windows, > and Windows 10 is no different. There are lots of computers where there is no C:\Program Files, but for example C:\Programme or C:\Archivos de programa. Not to speak about missing C: in the original example, the code would fail every time the current drive happens to be not C:. There are Windows SDK functions for figuring out the locations of such folders, but apparently if the program happened to work once somewhere it's not broken.
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-16 10:15 -0700 |
| Subject | Switch SysFolders to Short, Friendly Paths, all under "C:\__" ( Home ). |
| Message-ID | <Jeff-Relf.Me@Jul.16--10.15am.Seattle.2018> |
| In reply to | #694132 |
> > > Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ),
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Things like that are the reason why Windows programs suddenly break when
> > something is not installed to default location.
>
> Are you even able to install microsoft crap in a custom location?
>
> Microsoft has been reliant on hard-coded paths since before Windows,
> and Windows 10 is no different.
I've been doing the following for many years now [ Jeff-Relf.Me/Win10.REG ]:
; Remove "Desktop, Documents, Downloads, Music, Pictures, Videos" folders From "This PC".
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
; SystemWide Environment Variables:
; HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
; "TMP"="%SystemRoot%\\Tmp"
; Reqires a ReBoot.
[HKEY_CURRENT_USER\Environment]
"TMP"="C:\\__\\Tmp"
"TEMP"="C:\\__\\Tmp"
; Telnet.EXE, Zip.EXE, UnZip.EXE, 7z.EXE, nirCmd.EXE, Brc.EXE, pcre.DLL, ffmPeg.EXE
"Path"="C:\\__\\EXEs\\Shell"
; Switch SysFolders to Short, Friendly Paths, all under "C:\__" ( Home ).
;
; First, "RightClick Properties -> Location -> Move" each special folder.
; Make Sure "MyDocumentsLocation", "Shell Folders"/"Personal",
; and "User Shell Folders"/"Personal" ( below ) agree with each other.
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\15.0]
"MyDocumentsLocation"="C:\\__\\Sys"
"VisualStudioLocation"="C:\\__\\Sys\\AppData\\Microsoft\\VisStudio"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Personal"="C:\\__\\Sys"
"{374DE290-123F-4565-9164-39C4925E467B}"="c:\\__\\Sys"
"Startup"="C:\\__\\Startup"
"SendTo"="C:\\__\\SendTo"
"AppData"="c:\\__\\Sys\\AppData"
"Local AppData"="C:\\__\\Sys\\AppData"
"Local Settings"="C:\\__\\Sys"
"Local AppDataLow"="C:\\__\\Sys\\AppData\\LocalLow"
"Cache"="C:\\__\\Sys\\AppData\\IE-Tmp"
"Desktop"="C:\\__\\Sys\\AppData\\Desktop"
"PrintHood"="C:\\__\\Sys\\AppData\\PrintHood"
"NetHood"="C:\\__\\Sys\\AppData\\NetHood"
"Cookies"="C:\\__\\Sys\\AppData\\Cookies"
"Recent"="C:\\__\\Sys\\AppData\\Recent"
"Start Menu"="C:\\__\\Sys\\AppData\\Start Menu"
"Programs"="C:\\__\\Sys\\AppData\\Programs"
"History"="C:\\__\\Sys\\AppData\\History"
"Templates"="C:\\__\\Sys\\AppData\\Templates"
"Favorites"="C:\\__\\Sys\\AppData\\-Crap-"
"My Pictures"="C:\\__\\Sys\\AppData\\-Crap-"
"My Music"="C:\\__\\Sys\\AppData\\-Crap-"
"My Video"="C:\\__\\Sys\\AppData\\-Crap-"
"{A520A1A4-1780-4FF6-BD18-167343C5AF16}"="C:\\__\\Sys\\AppData\\LocalLow"
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Personal"="C:\\__\\Sys"
"{374DE290-123F-4565-9164-39C4925E467B}"="c:\\__\\Sys"
"Startup"="C:\\__\\Startup"
"SendTo"="C:\\__\\SendTo"
"AppData"="c:\\__\\Sys\\AppData"
"Local AppData"="C:\\__\\Sys\\AppData"
"Local Settings"="C:\\__\\Sys"
"Local AppDataLow"="C:\\__\\Sys\\AppData\\LocalLow"
"Cache"="C:\\__\\Sys\\AppData\\IE-Tmp"
"Desktop"="C:\\__\\Sys\\AppData\\Desktop"
"PrintHood"="C:\\__\\Sys\\AppData\\PrintHood"
"NetHood"="C:\\__\\Sys\\AppData\\NetHood"
"Cookies"="C:\\__\\Sys\\AppData\\Cookies"
"Recent"="C:\\__\\Sys\\AppData\\Recent"
"Start Menu"="C:\\__\\Sys\\AppData\\Start Menu"
"Programs"="C:\\__\\Sys\\AppData\\Programs"
"History"="C:\\__\\Sys\\AppData\\History"
"Templates"="C:\\__\\Sys\\AppData\\Templates"
"Favorites"="C:\\__\\Sys\\AppData\\-Crap-"
"My Pictures"="C:\\__\\Sys\\AppData\\-Crap-"
"My Music"="C:\\__\\Sys\\AppData\\-Crap-"
"My Video"="C:\\__\\Sys\\AppData\\-Crap-"
"{A520A1A4-1780-4FF6-BD18-167343C5AF16}"="C:\\__\\Sys\\AppData\\LocalLow"
[toc] | [prev] | [next] | [standalone]
| From | Storage Unit <storage.unit@mailinator.com> |
|---|---|
| Date | 2018-07-17 05:32 -0500 |
| Message-ID | <k7t02f-cvk.ln1@news.neodome.net> |
| In reply to | #694132 |
Lewis <g.kreme@gmail.com.dontsendmecopies> writes: > In message <0eet1f-5ld.ln1@news.neodome.net> Storage Unit <storage.unit@mailinator.com> wrote: >> Jeff-Relf.Me @. writes: > >>> Previously, I wrote: >>>> I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length, >>>> in bed; but, with no real desk or touch screen, >>>> hardware keyboards are a major pain in the ass. >>>> >>>> So I was thrilled by the "Touch Keyboard" recently introduced >>>> to the Windows 10, MouseOnly DesktopMode; >>>> what's more, it lets me (voice) dictate text. >>>> >>>> Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys" >>>> ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ): >>>> >>>> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off. >>>> Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep). >>> >>> Compared to other apps, Firefox and Chrome are very picky >>> about how they interact with the Touch Keyboard; >>> so " Show Touch Keyboard button ", in SysTray, Must be Enabled. >>> >>> "Randomly", the keyboard is slow to come up; I'm working on it. >>> >>> HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ; >>> ... >>> TaskBar = FindWindow( L"Shell_TrayWnd", 0 ); >>> SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 ); >>> Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 ); >>> .... >>> RegisterHotKey( >>> Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' ); >>> .... >>> if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' ) >>> Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ), >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Things like that are the reason why Windows programs suddenly break when >> something is not installed to default location. > > Are you even able to install microsoft crap in a custom location? It's been many years, but if I remember correctly many system folders are called differently in different versions of Windows (French, Japanese, Chinese, etc.) because their names are translated to native language of the user. For example, I'm 100% sure that Desktop and Documents folders' names are always translated. I guess Desktop is not that important, but Documents folder is the default place where many programs keep their files, which mean that they try to access it at the startup. Even programs that allow custom paths to folders are often break when those paths contain non-ASCII characters. > Microsoft has been reliant on hard-coded paths since before Windows, > and Windows 10 is no different. -- Emacs OS
[toc] | [prev] | [next] | [standalone]
| From | % <Persent@gmail.com> |
|---|---|
| Date | 2018-07-18 06:23 -0700 |
| Message-ID | <bek4h3.guk.19.6@news.alt.net> |
| In reply to | #694399 |
On 2018-07-17 3:32 AM, Storage Unit wrote: > Lewis <g.kreme@gmail.com.dontsendmecopies> writes: > >> In message <0eet1f-5ld.ln1@news.neodome.net> Storage Unit <storage.unit@mailinator.com> wrote: >>> Jeff-Relf.Me @. writes: >> >>>> Previously, I wrote: >>>>> I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length, >>>>> in bed; but, with no real desk or touch screen, >>>>> hardware keyboards are a major pain in the ass. >>>>> >>>>> So I was thrilled by the "Touch Keyboard" recently introduced >>>>> to the Windows 10, MouseOnly DesktopMode; >>>>> what's more, it lets me (voice) dictate text. >>>>> >>>>> Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys" >>>>> ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ): >>>>> >>>>> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off. >>>>> Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep). >>>> >>>> Compared to other apps, Firefox and Chrome are very picky >>>> about how they interact with the Touch Keyboard; >>>> so " Show Touch Keyboard button ", in SysTray, Must be Enabled. >>>> >>>> "Randomly", the keyboard is slow to come up; I'm working on it. >>>> >>>> HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ; >>>> ... >>>> TaskBar = FindWindow( L"Shell_TrayWnd", 0 ); >>>> SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 ); >>>> Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 ); >>>> .... >>>> RegisterHotKey( >>>> Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' ); >>>> .... >>>> if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' ) >>>> Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ), >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> Things like that are the reason why Windows programs suddenly break when >>> something is not installed to default location. >> >> Are you even able to install microsoft crap in a custom location? > > It's been many years, but if I remember correctly many system folders > are called differently in different versions of Windows (French, > Japanese, Chinese, etc.) because their names are translated to native > language of the user. For example, I'm 100% sure that Desktop and > Documents folders' names are always translated. I guess Desktop is not > that important, but Documents folder is the default place where many > programs keep their files, which mean that they try to access it at the > startup. > > Even programs that allow custom paths to folders are often break when > those paths contain non-ASCII characters. > >> Microsoft has been reliant on hard-coded paths since before Windows, >> and Windows 10 is no different. > then why aren't you using 10
[toc] | [prev] | [next] | [standalone]
| From | "reber G=emc^2" <herbertglazier0@gmail.com> |
|---|---|
| Date | 2018-07-22 10:43 -0700 |
| Message-ID | <c0fb4f15-4d02-4479-aefe-a7c03ffd05ef@googlegroups.com> |
| In reply to | #693499 |
On Tuesday, July 10, 2018 at 1:52:56 PM UTC-7, Jeff-Relf.Me wrote: > Previously, I wrote: > > I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length, > > in bed; but, with no real desk or touch screen, > > hardware keyboards are a major pain in the ass. > > > > So I was thrilled by the "Touch Keyboard" recently introduced > > to the Windows 10, MouseOnly DesktopMode; > > what's more, it lets me (voice) dictate text. > > > > Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys" > > ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ): > > > > Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off. > > Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep). > > Compared to other apps, Firefox and Chrome are very picky > about how they interact with the Touch Keyboard; > so " Show Touch Keyboard button ", in SysTray, Must be Enabled. > > "Randomly", the keyboard is slow to come up; I'm working on it. > > HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ; > ... > TaskBar = FindWindow( L"Shell_TrayWnd", 0 ); > SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 ); > Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 ); > .... > RegisterHotKey( > Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' ); > .... > if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' ) > Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ), > PostMessage( Keyboard, WM_LBUTTONDOWN, 0, 0 ), > PostMessage( Keyboard, WM_LBUTTONUP, 0, 0 ); Walmart gave me a HP Chromebook.Lift the lid an I'm in this grop.Nothing to press.Its screen is 11.6" Very brillant.I don't know if it gets window 10? Who cares when it gets free signal.I'm sitting here at McDonalds Bert
[toc] | [prev] | [next] | [standalone]
| From | "hanson" <hanson@quick.net> |
|---|---|
| Date | 2018-07-22 11:06 -0700 |
| Message-ID | <pj2h2q$5ff$1@dont-email.me> |
| In reply to | #695087 |
"reber G=emc^2" <herbertglazier0@gmail.com> wrote: "I am a proud Marxist/Soros/Bolshevik Jew with a IQ of 1-point-22". Bert "Bert bragged to have Kosher AIDS that gave Bert a lame noodle which makes Bert post nothing but Bert's lunatic doodle, and everyone says Bert is wrong + a fool & never cool". Bert See SwineGlazier's Dossier: <http://tinyurl.com/Swine-Glazier-s-REAL-intent> wherein SwineBert refuses to explain why SwineBert's has posted these items in word & by name: > (1) On 07Feb 2015 & on 08Feb2015, Face-Shitter Glazier wrote: Harlow Campbell HVAC, Mr.HVAC@gmail.com, & Saul Levy <saullevy1@cox.net & Jacoby Benj, <nobody@gmail.com>: "I'll be sitting on your faces to take a shit & say: "Open wide". <http://pbs.twimg.com/media/A8MGOU-CQAEaZw4.jpg> > (2) On 06Dec2014, when the Christian-Hater, JewPigBert Glazier said to "benj" <nobody@gmail.com>: "Reality is you always post under me for you are an ass kisser. For Christmas I'll shit on your kisser." <http://pbs.twimg.com/media/A8MGOU-CQAEaZw4.jpg> "Benj, you can thank me in advance". - TreBert. ... addinng > (3) On 03Aug2017: "benj, you eat shit and your shitty brain is coming out your ears." On 20Jul2018: Benj, my posts are way over your head.Reality is your head is up your ass.So fart it out before you get constipated.Bert > (4) On 25Mar2008, Graveyard Vandal Glazier wrote in: <https://groups.google.com/group/sci.physics/msg/3ffe7b2257cf8a9a> <https://groups.google.com/forum/#!msg/sci.physics/uYtpFTRnW4k/morPVyJ7_j8J> "Hanson, I will piss on your grave. And have a good laugh when it seeps down on your face". -- Bert > (5) On 24Jun2018 SwineBert Glazier said to Mark Earnest <gmearnest@att.net> "your nose is in a shit bucket all the time. Eat shit and you fit" -- Bert
[toc] | [prev] | [next] | [standalone]
| From | Jeff-Relf.Me @. |
|---|---|
| Date | 2018-07-22 11:48 -0700 |
| Subject | You can convert your speech into text, instead of typing. |
| Message-ID | <Jeff-Relf.Me@Jul.22--11.48am.Seattle.2018> |
| In reply to | #695087 |
Bert wrote: > Walmart gave me a HP Chromebook. You didn't have to pay for it ? > Lift the lid and I'm in this group. > Nothing to press. Its screen is 11.6", Very brillant. > > I don't know if it gets window 10? > Who cares when it gets free signal. > I'm sitting here at McDonalds Bert I admire your thriftiness. If you're running Windows, and you have a microphone on your headset, you can convert your speech into text, instead of typing. RightClick on the taskbar, beside where your open apps are listed, and check "Show touch keyboard button". The Keyboard icon should then appear in your SystemTray, by the Wi-Fi icon. Click the icon, then click on the microphone that comes up.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | sci.physics
csiph-web