AHK 1.1.29.00 Gui, MyGui:Default crashes the script Topic is solved

Report problems with documented functionality
teadrinker
Posts: 4325
Joined: 29 Mar 2015, 09:41
Contact:

AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 08:43

The code Gui, MyGui:Default causes the script to crash.
joefiesta
Posts: 497
Joined: 24 Jan 2016, 13:54
Location: Pa., USA

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 10:45

You can't say something causes the script to crash without showing the whole script. There is nothing wrong with "Gui, MyGui:Default"
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 11:04

@joefiesta have you tried running this script? it actually crashes.
Confirmed using AutoHotkey A/U/64
Recommends AHK Studio
joefiesta
Posts: 497
Joined: 24 Jan 2016, 13:54
Location: Pa., USA

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 13:34

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
gregster
Posts: 8990
Joined: 30 Sep 2013, 06:48

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 13:36

As the title says, this is AHK 1.1.29.00 related.
safetycar
Posts: 435
Joined: 12 Aug 2017, 04:27

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 14:52

Crashes here, 64 bits.
safetycar
Posts: 435
Joined: 12 Aug 2017, 04:27

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 15:03

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.
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

25 May 2018, 22:02

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.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 15 guests