Open Banaanae opened 1 month ago
V1:
MyFunc() { Gui, Add, Text,, Gui Gui, Show, w150 } MyFunc() F1::Gui, Destroy
V2 (Converted):
MyFunc() { myGui := Gui() myGui.Add("Text", , "Gui") myGui.Show("w150") } MyFunc() F1::myGui.Destroy()
V2 (Expected):
MyFunc() { global myGui ; V1toV2: Made function global myGui := Gui() myGui.Add("Text", , "Gui") myGui.Show("w150") } MyFunc() F1::myGui.Destroy()
Same should apply to menu (untested)
V1:
V2 (Converted):
V2 (Expected):
Same should apply to menu (untested)