[GUI] Use HTML and CSS for your GUIs!

Put simple Tips and Tricks that are not entire Tutorials in this forum
User avatar
joedf
Posts: 6342
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [GUI] Use HTML and CSS for your GUIs!

11 Apr 2018, 17:44

Awesome :+1:
Stavencross
Posts: 49
Joined: 24 May 2016, 16:42

Re: [GUI] Use HTML and CSS for your GUIs!

12 May 2018, 09:36

I'm curious if you've done anything else with webapp.ahk in the last 6-7 months or if there's been an update to it or anything
Stavencross
Posts: 49
Joined: 24 May 2016, 16:42

Re: [GUI] Use HTML and CSS for your GUIs!

18 May 2018, 05:47

joedf wrote:Awesome :+1:



Some of the functions I use pop up a message box that pauses the script while a user works in PowerPoint.

However, it seems that webapp.ahk will be looping in the background, once it gets to 5 million loops, internet explorer pops a message box complaining about an unresponsive script and asking if I want to close it.

Is there anything I can do about this?

I'm trying to refractor my code to do away with these message boxes, but I wanted to see if you had any insight as a temp fix
User avatar
kczx3
Posts: 578
Joined: 06 Oct 2015, 21:39

Re: [GUI] Use HTML and CSS for your GUIs!

18 May 2018, 08:30

Stavencross wrote:
joedf wrote:Awesome :+1:



Some of the functions I use pop up a message box that pauses the script while a user works in PowerPoint.

However, it seems that webapp.ahk will be looping in the background, once it gets to 5 million loops, internet explorer pops a message box complaining about an unresponsive script and asking if I want to close it.

Is there anything I can do about this?

I'm trying to refractor my code to do away with these message boxes, but I wanted to see if you had any insight as a temp fix

https://support.microsoft.com/en-us/hel ... orer-to-ru
Stavencross
Posts: 49
Joined: 24 May 2016, 16:42

Re: [GUI] Use HTML and CSS for your GUIs!

18 May 2018, 11:36

kczx3 wrote:
Stavencross wrote:
joedf wrote:Awesome :+1:



Some of the functions I use pop up a message box that pauses the script while a user works in PowerPoint.

However, it seems that webapp.ahk will be looping in the background, once it gets to 5 million loops, internet explorer pops a message box complaining about an unresponsive script and asking if I want to close it.

Is there anything I can do about this?

I'm trying to refractor my code to do away with these message boxes, but I wanted to see if you had any insight as a temp fix

https://support.microsoft.com/en-us/hel ... orer-to-ru



Yes, that seems to be what's happening for sure. I asked in discord and I'll time out the message box to fix
User avatar
joedf
Posts: 6342
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [GUI] Use HTML and CSS for your GUIs!

19 May 2018, 08:26

That’s weird... I don’t know of any loops on webapp.ahk ... :think:
User avatar
kczx3
Posts: 578
Joined: 06 Oct 2015, 21:39

Re: [GUI] Use HTML and CSS for your GUIs!

19 May 2018, 09:54

Has nothing to do with loops. He is probably calling an AHK function from JS which is opening the MsgBox. The JS is in a hold State because the MsgBox is modal and pauses JS execution. This happens with the software that I support where IE is used inside a C# application.
User avatar
joedf
Posts: 6342
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [GUI] Use HTML and CSS for your GUIs!

19 May 2018, 11:23

ahh yes.. thanks for the clarification.

Return to “Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest