well, the VIRTUAL KEY CODE for this button is :
PAGE DOWN key
so, what we're gonna do is try to implent the virtual key into scar.
well, the msdn uses windows api, and HEX, so what i did was used the delphi virtual key codes:
and wel, 0x22 = 22 lol.
so the scar codes look like this :
and scar read's the VK strings so :
howlong = 10000; // time in mili seconds so 1 second is 1000;
i := 0;
if (i < howlong) then
KeyDown(VK_NEXT); // VK_NEXT is the downpage button.
i := i + 1;
until(i = howlong)
wanna learn more? check out my thread