Search found 4 matches
- 29 Jan 2023, 20:48
- Forum: Ask for Help (v2)
- Topic: Can't figure out declaring and using variables with GUI
- Replies: 7
- Views: 613
Re: Can't figure out declaring and using variables with GUI
This works for me, the only problem is trying to add error messages, I can't update the err variable, it just adds a new line below it.
- 29 Jan 2023, 13:50
- Forum: Ask for Help (v2)
- Topic: Can't figure out declaring and using variables with GUI
- Replies: 7
- Views: 613
Re: Can't figure out declaring and using variables with GUI
Upon testing, my edit line won't submit a second time if it's a valid URL either. Is the best option to just rebuild the Gui after every submit?
- 29 Jan 2023, 13:47
- Forum: Ask for Help (v2)
- Topic: Can't figure out declaring and using variables with GUI
- Replies: 7
- Views: 613
Re: Can't figure out declaring and using variables with GUI
Thanks for the help, I went with Mikeys answer as it seems cleaner and it works!! Now I have another question since the GuiControl concept is a bit confusing. I'm trying to update text on my Gui to show the latest edit value if it's not a valid url, but it won't refresh. I read that GuiControl is go...
- 28 Jan 2023, 20:35
- Forum: Ask for Help (v2)
- Topic: Can't figure out declaring and using variables with GUI
- Replies: 7
- Views: 613
Can't figure out declaring and using variables with GUI
I'm trying to write a script using a GUI that will open a browser tab with the text you put into the gui text box. Here's my code so far. go := (*) => ExitApp() ; I didn't include the screen variables myGui := Gui() myGui.Opt("+Resize AlwaysOnTop") myGui.Add("Text",, "Scan QR Code" screenWidth " " s...