Page 1 of 1
AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 08:43
by teadrinker
The code Gui, MyGui:Default causes the script to crash.
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 10:45
by joefiesta
You can't say something causes the script to crash without showing the whole script. There is nothing wrong with "Gui, MyGui:Default"
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 11:04
by nnnik
@joefiesta have you tried running this script? it actually crashes.
Confirmed using AutoHotkey A/U/64
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 13:34
by joefiesta
what script are you talking about? It's one line?
I wrote this. It doesn't crash:
Code: Select all
#persistent
Gui, MyGui:Default
Gui, show
return
When I ran the single line, I get this (when I open):
Code: Select all
Script lines most recently executed (oldest first). Press [F5] to refresh. The seconds elapsed between a line and the one after it is in parentheses to the right (if not 0). The bottommost line's elapsed time is the number of seconds since it executed.
---- C:\Users\Joey\Documents\autohotkey_scripts\test3.ahk
001: Gui,MyGui:Default
002: Exit (70.00)
Press [F5] to refresh.
so, if he and you crash, it must be your OS or AHK version. I run Win7 Pro, 32 bit, with AHK 1.1.28.00
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 13:36
by gregster
As the title says, this is AHK 1.1.29.00 related.
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 14:27
by guest3456
lol.
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 14:52
by safetycar
Crashes here, 64 bits.
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 15:03
by safetycar
Crashing on every kind of installation I tried actually. Unicode, Ansi, 32, 64, with all extra options (drag drop and such) turned off too. Win 10 64 bits.
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 25 May 2018, 22:02
by lexikos
You can work around it for now by using Gui, MyGui:New instead, or creating a GUI (any GUI) before using "Default".
Or by reverting to v1.1.28.02, obviously.
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script Topic is solved
Posted: 02 Jun 2018, 00:37
by lexikos
Fixed in v1.1.29.01.
Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Posted: 02 Jun 2018, 11:25
by teadrinker
Thank you!