Nп/п : 4 из 100
 От   : greg                                2:5075/128        26 авг 23 06:18:36
 К    : The Rickster                                          26 авг 23 16:21:03
 Тема : Re: twapi send_keys LWIN not working
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<102c0760-f060-4513-ae23-dd6ebfda4a2fn@googlegroups.com> f143dc1b
@REPLY:
<22ffd848-75eb-4bb8-ba80-361624f3879en@googlegroups.com> 8d87ed32
@REPLYADDR greg <gregor.ebbing@googlemail.com>
@REPLYTO 2:5075/128 greg
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<22ffd848-75eb-4bb8-ba80-361624f3879en@googlegroups.com>
@RFC-Message-ID:
<102c0760-f060-4513-ae23-dd6ebfda4a2fn@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
The Rickster schrieb am Samstag, 26. August 2023 um 02:24:43 UTC+2:
 > The manual depression of the Windows key + H results in the
appearance of the ms voice type ui. This does not occur when using tkcon as
follows: 

> after 5000 {twapi::send_keys [list {LWIN} H]} 

> Waiting 5 seconds allows for the placement of the cursor in a .txt document. 
 > However, the only (apparent) result is the presentation of "LWIN
H" in the text document. 

 > Please advise as to how to achieve the intended result - the
appearance of the voice type ui. 
> Rick

from 
twapi source code   input.tcl
...
SHIFT {0x10 0}
CONTROL {0x11 0}
ALT {0x12 0} 
ENTER {0x0D 0}

proc twapi::_parse_send_keys {keys} 
    array set modifier_vk {+ 0x10 ^ 0x11 % 0x12}

{ENTER] as default

...

 As far as I understand the code, there are only these 4 modifiers
for pressed keys.


That`s why the LWIN Key + H  doesn`t work
--- G2/1.0
 * Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх