PDA

View Full Version : [HotKeyNet] Broadcasting Key From Chrome to Chrome not Working



really
06-09-2020, 10:47 PM
Hi all,

This is the code that I have been trying and it shows as working but doesn't do anything to the browser.

<Label aaa local SendWinM H1>
<Label bbb local SendWinM H2>
<MovementHotkey 1, 2, 3, 4, 5>
<SendLabel aaa, bbb>
<Key %Trigger%>

All I want it to do is to click "1" on my keyboard on the first chrome page and duplicate this "1" input on the second chrome page. Would be great if someone can help, thank you.

EDIT: This is what I get on the HKN program but the key wasn't recognized in the second chrome page. Not sure if the different target name means anything.

From this pc: <SendWinM H1><KeyDown 4><SendWinM H2><KeyDown 4>
<SendWinM H1> completed: Window found. Target set to 0x1107D0 "H1 - Google Chrome"
<KeyDown 4> completed
<SendWinM H2> completed: Window found. Target set to 0x90848 "H2 - Google Chrome"
<KeyDown 4> completed


From this pc: <SendWinM H1><KeyUp 4><SendWinM H2><KeyUp 4>
<SendWinM H1> completed: Window found. Target set to 0x1107D0 "H1 - Google Chrome"
<KeyUp 4> completed
<SendWinM H2> completed: Window found. Target set to 0x90848 "H2 - Google Chrome"
<KeyUp 4> completed

muldorante
06-11-2020, 01:28 AM
Try using SendWin instead of SendWinM

really
06-16-2020, 10:20 AM
It worked. Thanks!