Nп/п : 6 из 100
 От   : The Rickster                        2:5075/128        26 авг 23 14:07:07
 К    : greg                                                  26 авг 23 00:08:04
 Тема : Re: twapi send_keys LWIN not working
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<81b3a911-f244-474a-a7a7-5e7d87a40e73n@googlegroups.com> 05ad1da1
@REPLY:
<7172965e-21d4-49c9-91e4-29838d04f969n@googlegroups.com> 87bfa3b1
@REPLYADDR The Rickster <sled99dog@gmail.com>
@REPLYTO 2:5075/128 The Rickster
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<22ffd848-75eb-4bb8-ba80-361624f3879en@googlegroups.com> <7172965e-21d4-49c9-91e4-29838d04f969n@googlegroups.com>
@RFC-Message-ID:
<81b3a911-f244-474a-a7a7-5e7d87a40e73n@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
On Saturday, August 26, 2023 at 12:28:48 AM UTC-7, greg wrote:
> 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 
https://wiki.tcl-lang.org/page/MS+Windows%3A+assistive+technology%2C+code+signin
g%2C+send+keystrokes+to+other+applications+and+Windows+login+password+field#7f68
2fe6c2c515786183fd9907b9c64012ff3017d02d76f24f8071bec44e2ad5 

> and 
https://learn.microsoft.com/de-de/windows/win32/inputdev/virtual-key-codes 

> # VK LWIN 0x5B 
> # 0x48 H 
> twapi::send input {"keydown 0x5B 0" "key 0x48 0" "keyup 0x5B 0"}
 Greg, thanks so much..I looked as send input but didn`t get the 0
part of the syntax. Seemed the key code vs scan code part confused me.
Again, thanks
--- 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    
                                                                                
В этой области больше нет сообщений.

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