This is a part of a code in a script with tons of such hatstrings gosub No contains mouse clicks that are required before the send, But I also need a GUI to fill in what %p% is. I need the GUI is soon as I hatstring and preferably it should go way with enter or ok and have a default walue if left blank

I think http://ahkscript.org...ds/InputBox.htmis what you want, it is only one line of code so the easiest to implement. If you have it set the same variable you can make it a Label and use Gosub to get the input from the user instead of having to use the InputBox command for each hotstrings. That way if something changes you only have to update one InputBox not many.

I managed to do just that with InputBox thank you! But still is there a (quite simple way to do this with a GUI that is put it in a label, and go to it evert time I need to? I want that in case I need to input more than one parameter. What I mean is I want a form GUI that pops up with a label I almost manged to do that but after the GUI label ran it wouldn't continue with the rest of the commands assigned to the hotstring

I know I'm a bit unclear but thanks anyway any guideline will be much appreciated

Because of the way Gui works you need multiple steps:
create the Gui,
Show the Gui,
Wait for user input,
Return to hotstring.

The problem is The Wait For User Input.
The way it usually works is that after Showing the Gui you use a "Return" to wait for user input, if you do that here it will return to the Hotstring and not wait for the User Input.

So you have to use a trick to keep on waiting for the user to enter the data before actually returning to the hotstring, like a loop or while. This is one way (there are others)

One of the strengths of an app like this is that it works great for repetitive writing tasks like phone numbers, email addresses and signatures. Instead of having to repeat essentially the same phrase several times a day you just write a simple keyword and it’ll automatically transform into the right thing. Since it’s as just a script it works universally across all of your apps too, which is another thing that’s great. I can use the same abbreviations whether I’m surfing the web in Chrome or writing a blog post in Focus Writer or ResophNotes.