LOGITacker icon indicating copy to clipboard operation
LOGITacker copied to clipboard

every second injection fails

Open JamesBohrmann opened this issue 5 years ago • 3 comments
trafficstars

hello,

i use this script to inject: LOGITacker (discover) $ script press NUMLOCK LOGITacker (discover) $ script press GUI R
LOGITacker (discover) $ script delay 500 LOGITacker (discover) $ script altstring "notepad.exe" LOGITacker (discover) $ script delay 500 LOGITacker (discover) $ script press RETURN LOGITacker (discover) $ script altstring "here comes some demo text. Very much characters. At least 24!"

what happens: the first run works fine, the second run, whichout any changes, fails.

any ideas what could be wrong?

thanks in advance James

JamesBohrmann avatar Dec 17 '19 11:12 JamesBohrmann

Could you try running something simple, like just typing out a string and pressing enter? Leave notepad open and in focus, so you can see if it works? And then see if it works every time you trigger it?

That will show whether there is something wrong at a hardware/firmware level, or something wrong with your script.

Then we can debug from there.

RoganDawes avatar Dec 19 '19 07:12 RoganDawes

Keep in mind that NUMLOCK is a toggle. So the first run turns it on, the second run turns it off. Would definitely explain why your script fails.

More generally, a HID keyboard should be notified of the system toggle states so that it can set its own LEDs accordingly, so it is technically possible to query this before triggering the toggle. Whether that functionality exists or not in LOGITacker is a different question.

However, I believe that only Windows and Linux actually do synchronized toggle states across HID keyboards. OS X apparently does not. Whether this is a problem for you depends on your targets, I guess!

On Tue, 07 Jan 2020 at 10:01 PaulaPaul750 [email protected] wrote:

hello, it works like a charm. so it seems it have something to do with the script, maybe the NUMLOCK thing.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/mame82/LOGITacker/issues/38?email_source=notifications&email_token=AABHBC4CAGQOYW2HGBLQQLDQ4QZEBA5CNFSM4J3ZWICKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIIBFLI#issuecomment-571478701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABHBC74ZT4XGDE4RL3Y7QLQ4QZEBANCNFSM4J3ZWICA .

RoganDawes avatar Jan 07 '20 08:01 RoganDawes