[GUI] Use HTML and CSS for your GUIs!

Helpful script writing tricks and HowTo's
Stavencross
Posts: 29
Joined: 24 May 2016, 16:42

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

26 Jan 2018, 19:02

kczx3 wrote:I can't get it to happen, though I am not using webapp.ahk. I simply used my own ActiveX control and modified the gui_KeyDown function from the AHK installer code. Maybe it is crashing because you are allowing all keys through as accelerators. I simply let through A/C/V and haven't seen your problem.

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


Apologies on the delay in respose! I've implemented your idea of toning down what I let through (as you said, I was listening on all keys.)

I modified your line to:
if (Chr(wParam) ~= "[B,D,E,G-U,W,Y-Z]" || wParam = 0x74) ; Disable Ctrl+O/L/F/N and F5.
return

As "CONTROL + F" is important in my app. and we'll see what happens!

Thank you very much, I really feel like this is this answer I'll let ya'll know!
Stavencross
Posts: 29
Joined: 24 May 2016, 16:42

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

26 Jan 2018, 19:05

Thought I would share what I've been building for the last 5 months. I keep it for myself as....well I won't lie, it makes me look REALLY good at work to be done with most my work within a week when everyone else takes 25 days.

I'm an account manager for a website company and I built an app using webapp.ahk and about.....15000 lines of custom code to automate most of my little processes.

It uses webapp.ahk, PHP, JS, HTML,CSS,SQL, and SOQL (Salesforce version of SQL)

https://drive.google.com/file/d/14VwXVx ... sp=sharing

check it out =)


Thanks again Joedf!
User avatar
kczx3
Posts: 445
Joined: 06 Oct 2015, 21:39

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

26 Jan 2018, 20:51

Very impressive!
User avatar
joedf
Posts: 6132
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!

26 Jan 2018, 22:34

That's awesome! I'm really happy you saw the potential in this. :+1: :D
User avatar
kczx3
Posts: 445
Joined: 06 Oct 2015, 21:39

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

27 Jan 2018, 15:29

I’d be curious how you’re using PHP and what JavaScript framework you’re using, if any.
User avatar
lmstearn
Posts: 149
Joined: 11 Aug 2016, 02:32
GitHub: lmstearn

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

01 Feb 2018, 22:21

Looks great, thanks. :D
A soon as there is a convenient method to implement context help on the GUIs, then perhaps we can all dispense with the venerable HTMLHelp entirely!
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
User avatar
joedf
Posts: 6132
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!

02 Feb 2018, 08:25

Well right now the new docs is implemented in JavaScript and preprocessed by ahk... essentially the htmlHelp still there as a browser display I guess?
User avatar
Off Topic
Posts: 35
Joined: 07 Oct 2017, 20:57

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

05 Feb 2018, 16:20

Hey Joe, this thread is great -- I'm new to coding and have been eagerly learning my way towards this direction. Is it possible to also implement GSAP with this method? The ability to easily tween and ease would make a world of difference for the kind of GUI animation I'm after.
User avatar
kczx3
Posts: 445
Joined: 06 Oct 2015, 21:39

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

05 Feb 2018, 20:39

That should be completely possible assuming that it is compatible with Internet Explorer.
User avatar
joedf
Posts: 6132
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!

05 Feb 2018, 22:25

as with what kczx3 has said, I don't see why it wouldnt work. :+1:
I say go ahead and try it out by playing with the example html files, let me know how it goes! ;)

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 4 guests