I got tired of typing the same thing over and over for every script...a var statement with my variable names, followed by a separate line for every parameter, like "some_var = argument0", etc. So I made a little AutoHotkey script to automate the process:
/*
GMAssist by Eric Burgess (EricDB)
Makes it easier to enter parameter lists into GML scripts.
*/
#SingleInstance force
#IfWinActive Game Maker
; Ctrl-Alt-P to automate script parameter entry:
^!p::
{
InputBox params, Parameters, Enter parameters (separated by commas)
send var %params%;{enter}{enter}
Loop, Parse, params, `,, %A_Space%
{
send % A_LoopField . " = argument" . A_Index - 1 . ";{enter}"
}
send {enter}
}All you do is type Ctrl-Alt-P, and a window pops up where you enter your list of parameters. Then the script enters the var and argumentX lines for you. I could make it into an EXE and post that, but I was afraid people would be suspicious of it, so I'm just posting the script. Download AutoHotkey to use it.
This is not a modification to Game Maker! It just intercepts a certain keypress, and sends some more keys to the GM window. It doesn't modify or directly interact with GM in any way.



Find content
Male

