I have the following gui. I wanted the gui to stop so that I can pick a specific day from the pop up calendar but that does not happen. How do I get the gui to pause so that I can pick a date from the calendar?
Gui, Add, MonthCal, vDayPick
Gui, Add, Button, Default, Submit
Gui, Show
ButtonSubmit:
Gui, Submit
FormatTime, DayPick, %DayPick%, yyyyMMdd
Send, %DayPick%
Gui, Destroy
Return
Gui Calendar
You missed a Return.
Code: Select all
Gui, Add, MonthCal, vDayPick
Gui, Add, Button, Default, Submit
Gui, Show
Return
ButtonSubmit:
Gui, Submit
FormatTime, DayPick, %DayPick%, yyyyMMdd
Send, %DayPick%
Gui, Destroy
Return