Hello guys!
I'm newbie in AHK and I have a question for you. Is possible to merge few simple scripts in one script?
example:
I need to:
1. Click "F4" every X seconds
2. Click "F5 + F6" every X seconds
And all of these things should be in one script with key to turn ON/OFF. ex: When I press "X key" script is turned to ON and do theses things. When I press "X key again" (or Y if can't be the same key) scripts stopping do these things.
Thank You!
Merge few simple scripts
-
- Posts: 1
- Joined: 08 Aug 2022, 03:50
Merge few simple scripts
Last edited by BoBo on 08 Aug 2022, 05:14, edited 1 time in total.
Reason: Moved to 'Ask for Help' (Gaming).
Reason: Moved to 'Ask for Help' (Gaming).
Re: Merge few simple scripts
Welcome to this AutoHotkey forum!
Scripts can be merged. They sometimes require attention to the following things.
1. Avoid unintentional duplication of variable names.
2. Avoid duplication of hotkeys in the same context, & functions.
3. Attend to the auto-execute section.
Try it. See if it works. If you have trouble, you can post your script below.
Scripts can be merged. They sometimes require attention to the following things.
1. Avoid unintentional duplication of variable names.
2. Avoid duplication of hotkeys in the same context, & functions.
3. Attend to the auto-execute section.
Try it. See if it works. If you have trouble, you can post your script below.