click on button - open new gui

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kacper4354_
Posts: 28
Joined: 02 Feb 2021, 10:02

click on button - open new gui

12 May 2021, 04:11

Pls write script for me. I want to do when i click on button - open new gui
User avatar
mikeyww
Posts: 26936
Joined: 09 Sep 2014, 18:38

Re: click on button - open new gui

12 May 2021, 06:35

Code: Select all

more()

more() {
 Random, x, 1, 600
 Random, y, 1, 400
 Gui, New
 Gui, Font, s10
 Gui, Add, Button, x100, Click
 Gui, Show, x%x% y%y% w220, Click
 Return
 ButtonClick:
 more()
 Return
}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: downstairs, OrangeCat and 185 guests