Hallo, ich habe folgendes Problem.
Ich möchte wenn es ein Update gibt eine Nachricht erscheint was auch passiert. Aber wenn ich das obere Gui einfüge [Updater] läd mein anders Gui nicht mehr
Gui, Add, Text, x192 y39 w210 h30 +Center, News Keybinder by Codein.
Gui, Add, Text, x42 y139 w130 h20 +Center, /p = Anruf annehmen
Gui, Add, Text, x42 y159 w130 h20 +Center, /h = Anruf ablehnen
Gui, Add, Text, x42 y179 w130 h20 +Center, /ab Anrufbeantworter
Gui, Add, Text, x62 y99 w90 h30 +Center, Telefon
Gui, Add, Text, x452 y99 w100 h30 +Center, Befehle
Gui, Add, Text, x442 y139 w130 h20 +Center, /wortsalat = Wortsalat
Gui, Add, Text, x442 y159 w130 h30 +Center, /spendenaufruf = Spenden sammeln
Gui, Add, Text, x442 y189 w130 h30 +Center, /wortsalatende = Wortsalatende
Gui, Add, Text, x442 y219 w130 h20 +Center, /quiz = Quiz starten
Gui, Add, Text, x442 y239 w130 h20 +Center, /quizende = Quiz beenden
Gui, Add, Text, x442 y259 w130 h20 +Center, /stop = STOP!!!!!!
Gui, Add, Text, x442 y279 w130 h30 +Center, /tuningevent = Tuning Event
Gui, Add, Text, x442 y309 w130 h30 +Center, /tuningeventstop = Tuning Event Stop
Gui, Add, Text, x252 y99 w90 h30 +Center, Auto
Gui, Add, Text, x222 y139 w160 h40 +Center, Numpad9 = Motor an`, Licht an`, Auto abschließen
Gui, Add, Text, x442 y339 w130 h30 +Center, /hangman = Hangman starten
Gui, Add, Text, x442 y369 w130 h30 +Center, /hangmanstop = Hangman stoppen
Gui, Add, Text, x442 y399 w130 h30 +Center, /bevent = Bullet suchen Event
Gui, Add, Text, x442 y429 w130 h30 +Center, /beventstop = Bullet suchen Stop
; Generated using SmartGUI Creator for SciTE
Gui, Show, w653 h520, News Keybinder by Codein.
return
UrlDownloadToFile, https://www.mitch1337.xyz/keybinder_version/News-Keybinder/version.ini, Version.ini
IniRead, n_version, Version.ini, Version, Version
IniRead, OldKeybinder, DeleteOldKeybinder.ini, OldKeybinder, Name
version = 1.0.0
if(version != n_version)
{
Gui, show, w250 h70, Updater by Codein
Gui, add, text, x20 y10, Es wurde eine neue Version gefunden.
Gui, add, text, x20 y27, Möchten Sie jetzt updaten?
Gui, add, Button, w100 h20 x20 y45 gUpdate, Ja
Gui, add, Button, w100 h20 x130 y45 gAbbrechen, Nein
IniRead, dlink, Version.ini, Version, Dlink
FileDelete, Version.ini
return
} else {
FileDelete, %OldKeybinder%
FileDelete, Version.ini
FileDelete, DeleteOldKeybinder.ini
return
}
Update:
filename = News-Keybinder_v%n_version%.exe
UrlDownloadToFile, %dlink%, %filename%
oldfilename = News-Keybinder_v%version%.exe
IniWrite, %oldfilename%, DeleteOldKeybinder.ini, OldKeybinder, Name
Run, %filename%
ExitApp
return
Gui, Add, Text, x192 y39 w210 h30 +Center, News Keybinder by Codein.
Gui, Add, Text, x42 y139 w130 h20 +Center, /p = Anruf annehmen
Gui, Add, Text, x42 y159 w130 h20 +Center, /h = Anruf ablehnen
Gui, Add, Text, x42 y179 w130 h20 +Center, /ab Anrufbeantworter
Gui, Add, Text, x62 y99 w90 h30 +Center, Telefon
Gui, Add, Text, x452 y99 w100 h30 +Center, Befehle
Gui, Add, Text, x442 y139 w130 h20 +Center, /wortsalat = Wortsalat
Gui, Add, Text, x442 y159 w130 h30 +Center, /spendenaufruf = Spenden sammeln
Gui, Add, Text, x442 y189 w130 h30 +Center, /wortsalatende = Wortsalatende
Gui, Add, Text, x442 y219 w130 h20 +Center, /quiz = Quiz starten
Gui, Add, Text, x442 y239 w130 h20 +Center, /quizende = Quiz beenden
Gui, Add, Text, x442 y259 w130 h20 +Center, /stop = STOP!!!!!!
Gui, Add, Text, x442 y279 w130 h30 +Center, /tuningevent = Tuning Event
Gui, Add, Text, x442 y309 w130 h30 +Center, /tuningeventstop = Tuning Event Stop
Gui, Add, Text, x252 y99 w90 h30 +Center, Auto
Gui, Add, Text, x222 y139 w160 h40 +Center, Numpad9 = Motor an`, Licht an`, Auto abschließen
Gui, Add, Text, x442 y339 w130 h30 +Center, /hangman = Hangman starten
Gui, Add, Text, x442 y369 w130 h30 +Center, /hangmanstop = Hangman stoppen
Gui, Add, Text, x442 y399 w130 h30 +Center, /bevent = Bullet suchen Event
Gui, Add, Text, x442 y429 w130 h30 +Center, /beventstop = Bullet suchen Stop
; Generated using SmartGUI Creator for SciTE
Gui, Show, w653 h520, News Keybinder by Codein.
return
GuiClose:
ExitApp
Abbrechen:
Gui, Destroy
return
Wie mache es es, das beide Guis geladen werden? danke