Do I have to create a separate script file?
How to put the code into file @Triggers and toolbars -> Triggers -> Hotkey triggers.cs ,
I tried without success
//Add other triggers here.
// To block the key event: k.BlockEvent();
//Note: this function must be as fast as possible. Slow code here will make kayboard input slow.
// If need slow code, put it in other script or thread, and here just start the script or thread. });
}
record_KeyEvent(boolisUp,KKeykey,KModmod,KKeyvkCode,uintscanCode,boolisExtended,boolisInjected,boolisAlt,inttime); List<_KeyEvent>_lastKeys;//max 16 previous key events, starting from the most recent, including current event
05-28-2023, 05:29 AM (This post was last modified: 05-28-2023, 05:58 AM by birdywen.)
Just want to throw a thank you to Gintaras, this script is so useful to me. Saved a lot of time to google translate and OCR.
Hi Gintaras, Can this script be complied to an exe? I think my friend will definitely love it. It's so useful and powerful.
Hi Gintaras, I have tried to import the new code but it seems there was an error occurs. There is only one file in the folder which is named "Translate UI element text.cs", I think the other two were missed. Please have a look into the code. Thanks
Hi Gintaras, Could you please add a drop-down list to select source language and target language? It would be very helpful and flexible that way. Now I have to compile several different versions of exe? Thanks!