Custom command to do many commands Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Kezeal
Posts: 2
Joined: 02 May 2018, 09:16

Custom command to do many commands

02 May 2018, 09:22

I currently have a fairly long code that is made of 5 sections of almost identical code. Many of the steps are identical, so I was wondering if there's a way to make a custom command that will automatically trigger all those steps, so the code would be a bit easier to read?

Like making a custom command "startstuff" and have it do multiple things in a row, like "send message, sleep 100, click pos, sleep 100, copy text" etc.

I googled a bit, but I couldn't recall what these things are called so I didn't really get very far.

Thank you in advance.
Kezeal
Posts: 2
Joined: 02 May 2018, 09:16

Re: Custom command to do many commands

02 May 2018, 09:43

Oh, functions was indeed what I was looking for! The docs were a bit confusing, but I found a very nice example in a forum how to use it the exact way I want. Thank you!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: DataLife and 159 guests