A guide to using my Macro Recorder built in AutoHotkey. Download the script here: github.com/rae... Install AutoHotkey v2: www.autohotkey... See the original macro recorder by feiyue: www.autohotkey...
Awesome Job. * Couple of idea's - Extend the F1 time out, between recording and showing source as its hard to hit those it seems IMO. - VS Code could be in multiple locations depending on how you installed it, so "open source" didn't work for me until I edited it. ( ms store, user install, system wide ) - After it opens source it no longer provides on the onscreen recording prompt/notification, or something isn't always triggering it? - Maybe a tip for when the screen is playing, like during the recording so you know when its done? Thank you so much for your hard work.
Out of curiosity; unless I'm just doing something wrong. when I loop the script to work it just does the commands instantly regardless of the sleep timers involved. How do I fix this? For example my sleep timer is set to 20000 and it is still instantaneous once I start the script that the commands runs its loop INSANELY quickly.
I am having trouble understanding when to use wich coordinates... if i position everything on my main screen side by side and record actions in different windows, will it work? Same Speed, just looping what i did before? I need to adjust my scripts way too often otherwhise, all the winactivate stuff is beyond me still...
With how you've described your situation, I would leave the coordinate mode as screen. That's how I normally use it anyway. The best way to think of screen is that it will always click on the same point on the screen no matter what is there. Using window allows you to drag your windows around and your clicks will still work, but it is far more fiddly that way. Sometimes I need to make a click right where my mouse currently is. Like I want it to right-click on a shortcut I have highlighted. That's when I use relative.
Sorry about that. I forget how much extra nonsense there is on a github repo. I added a release and a readme to hopefully make it easier to follow. You can see the release page here: github.com/raeleus/AHK-Macro-Recorder/releases Thanks!
Good job, im having problems trying to loop the script, I saw your comments saying it was all in a big loop but I cannot find where precisely the loop option is, I used the search feature and changed the number on all three "loops" the program has but it is giving error messages
@@Ayrton-Da-Silva Thanks. You have to edit the macros created by the script. Record the macro first by holding f1 until it says record. Do the action you want to be repested, the press f1 again to stop recording. Now hold f1 for a really long time until it says edit script. It should open up in vscode or whatever editor you have. That's where the loop is. It's at the very top of this file.
@@thuy446 Yes, you'll see that when you edit the macro, everything is in one big loop block. You can change the loop number to anything you want or erase the number to loop forever. Pressing F1 again will stop the macro.
@@diogoscala5496 You'll see that when you edit the macro, everything is in one big loop block. You can change the loop number to anything you want or erase the number to loop forever. Pressing F1 again will stop the macro.
@@linzika i talk about that in the video. Long press the key to edit the script. Remove the comments from the sleep lines. Or change the sleep oprion at the top and record again.
i get error "script file not found" if i press f1 seems it not found the file ~Record1.ahk I edited the script and now i get: 316: title := WinGetTitle() when i open the cmd while recording
That extremely handy script! many thanks!
Thank you for your great work :)
Easy to use and really helpful. Incredible job!
Thanks for trying it out!
Awesome Job.
* Couple of idea's
- Extend the F1 time out, between recording and showing source as its hard to hit those it seems IMO.
- VS Code could be in multiple locations depending on how you installed it, so "open source" didn't work for me until I edited it. ( ms store, user install, system wide )
- After it opens source it no longer provides on the onscreen recording prompt/notification, or something isn't always triggering it?
- Maybe a tip for when the screen is playing, like during the recording so you know when its done?
Thank you so much for your hard work.
Out of curiosity; unless I'm just doing something wrong.
when I loop the script to work it just does the commands instantly regardless of the sleep timers involved. How do I fix this? For example my sleep timer is set to 20000 and it is still instantaneous once I start the script that the commands runs its loop INSANELY quickly.
I am having trouble understanding when to use wich coordinates... if i position everything on my main screen side by side and record actions in different windows, will it work? Same Speed, just looping what i did before?
I need to adjust my scripts way too often otherwhise, all the winactivate stuff is beyond me still...
With how you've described your situation, I would leave the coordinate mode as screen. That's how I normally use it anyway. The best way to think of screen is that it will always click on the same point on the screen no matter what is there. Using window allows you to drag your windows around and your clicks will still work, but it is far more fiddly that way.
Sometimes I need to make a click right where my mouse currently is. Like I want it to right-click on a shortcut I have highlighted. That's when I use relative.
very confusing. where do i download the script in github?
Sorry about that. I forget how much extra nonsense there is on a github repo. I added a release and a readme to hopefully make it easier to follow. You can see the release page here: github.com/raeleus/AHK-Macro-Recorder/releases
Thanks!
how to add loop? so idont press f1 repeatedly
@@ecomempire9076 there is a loop block inside the generated script. You can specify a loop count other than 1 or leave it blank to loop forever
Good job, im having problems trying to loop the script, I saw your comments saying it was all in a big loop but I cannot find where precisely the loop option is, I used the search feature and changed the number on all three "loops" the program has but it is giving error messages
@@Ayrton-Da-Silva Thanks. You have to edit the macros created by the script. Record the macro first by holding f1 until it says record. Do the action you want to be repested, the press f1 again to stop recording. Now hold f1 for a really long time until it says edit script. It should open up in vscode or whatever editor you have. That's where the loop is. It's at the very top of this file.
@@raeleus ooh I see thank you for the reply
Hi, I was wondering how can I do infinite playbacks. Like it just keeps looping until I press f1 again
@@thuy446 Yes, you'll see that when you edit the macro, everything is in one big loop block. You can change the loop number to anything you want or erase the number to loop forever. Pressing F1 again will stop the macro.
@@raeleuseverything seems to work, but the sleep times are very off and it seem really sped up. I enabled the setting for recording sleep too
I have a question how can I make so the macro repeats infinite times?
@@diogoscala5496 You'll see that when you edit the macro, everything is in one big loop block. You can change the loop number to anything you want or erase the number to loop forever. Pressing F1 again will stop the macro.
@@raeleus oh I see thanks for the help
im writing and clicking but i need it to be done the same speed as i did before, and it only goes soo fast
@@linzika i talk about that in the video. Long press the key to edit the script. Remove the comments from the sleep lines. Or change the sleep oprion at the top and record again.
Raelus, will you make a video about networking in libgdx in future?
@@mrblazer149 I'm not any good at networking. Sorry!
@@raeleus damn you are fast, thanks for response, its just that libgdx networking looks really hard
Hello, can u help me? ive changed to RecordSleep:=true on Record.ahk but still when i press F1 it does so fast, why?
Hello. The line should be ;RecordSleep=true
No colon because I'm a filthy Java programmer. Save the script, then record your macro again. Sorry!
i get error "script file not found" if i press f1
seems it not found the file ~Record1.ahk
I edited the script and now i get:
316: title := WinGetTitle()
when i open the cmd while recording
Did you make sure to record a macro first? Long hold f1 until it says record on the screen