Great to see others learning/utilizing AHK!
ShadowDawn wrote:Wanted to know if you know how to make the "up" button say "+1" instead.
That was my original idea.
Stopped dead in my tracks when it gave me that error
+1_TT := "Increase game name nu...
would be an illegal variable name. You would need to devise a way to identify the buttons when they are clicked without using their contents. It can get complicated, just know that there is a gui control option parameter to specify the callback function (
Here are some more observations/tips that may be helpful:
Underlying MechanicsSystem IO
- The UI code is constantly creating and deleting a file during program usage. This is unnecessary since variables can hold the information in memory while the program is running.Compatability
- There are Hard-coded coordinates specifying game locations. This prevents anyone with a different resolution from using the program. This has no easy solution, sadly, but is something to think about.
AHK Specific InsightString Literals (
Argument Passing (
► Assignment Operators and Literals
builtin commands and
Literals and Argument Usage
► Parameters And Literals
► Somewhat Less Abstract Example
Have fun, and let me know if you have any questions!