Code: Select all
function main()
{
Type `
Type /
Wait 2
Type Hi HoW ArE YoU
}
I started thinking about keybd_event and the shift modifier and then wondering how IS was accomplishing it. I imagine there is some sort of
Code: Select all
// if shift-modded key, press and hold shift
if (ReturnFromVkKeyScan & 0x0100) keybd_event(0x10, bScan, 0, 0);
do the keybd_event stuff
//lift shift
keybd_event(0x10, bScan, KEYEVENTF_KEYUP, 0);
Is there another command to send a string of text, as written, to the host application that IS is connected to? All of the scripts I'm playing with have to add a "Type `" to the top of the main function to hide the console.
I just started with IS lately, and I love the idea, good work Lax. Thanks for the effort.
Def