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

Report problems with documented functionality
teadrinker
Posts: 387
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: 150
Joined: 24 Jan 2016, 13:54

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: 3067
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: 150
Joined: 24 Jan 2016, 13:54

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:



When I ran the single line, I get this (when I open):

Code: [Select all] [Download] GeSHi © Codebox Plus

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
User avatar
gregster
Posts: 1349
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: 2
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: 2
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: 6040
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

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.
lexikos
Posts: 6040
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

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

02 Jun 2018, 00:37

Fixed in v1.1.29.01.

Return to “Bug Reports”

Who is online

Users browsing this forum: 20170201225639, rousni and 4 guests