Macro App Required

Suspended
Joined
18 Oct 2002
Posts
9,480
I need a free macro app urgently please. All I need it to do is for me to ALT+TAB to an app, press a hot key to start the macro, have the macro simulate a key press, wait a user defined amount of time in ms, then rinse and repeat.

Suggestions? With instructions if you CBA :)
 
Sure.

SCAR is a script based macro, it can do most keys. Not entirely sure about function keys, I never got them working anyway. Its game macroing origins are not as obvious on the website these days but it can do lot of things such as colour picking, image recognition, mouse movement/clicking...

The scripts are actually pascal code which means it can run routines considerably more complex than your average macro. But as for what you asked for:

Code:
program OCUKmacro;

begin
  repeat
    SendKeys(chr(13));
    Wait(10000);
  until (1 = 0);
end.

And that would be code to press the enter key every 10 seconds.

Before that you need to target the program onto whatever you are sending the keys to - you drag a crosshair to the window.

The hotkeys are ctrl-alt-R to Run, ctrl-alt-S to Stop.

Website: http://freddy1990.com/index.php?page=product&name=scar
 
Last edited:
Thanks for the link.

I have set it up using the script you provided, but it doesn't seem to work in the application I am using. If I run the script now, as I type this, then it keeps sending the number 2 every 7 seconds but I am not sure it's doing what I want.

In my game, if I press the number 2 key then it starts crafting something, but it doesn't work when using the macro. I don't want it to send the number 2, I want it to 'press' the number 2 key. I have set it up using the key codes from the web site where they detail that number 2 is 50.

Help!
 
Last edited:
Good good :)

I would have said that (chr(13)) = enter but for the number 2 specifically or anything using normal letters and numbers no symbols it would be:

SendKeys('2');

I guess that's what you found out though :)


*edit: actually no, chr 50 would have worked too. But if you used my example you could literally send an entire sentence instead of just 2 and it can also send single digits as well.
 
Last edited:
Back
Top Bottom