Page 1 of 3
Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 14 Aug 2016, 21:28
by joedf
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 15 Aug 2016, 01:08
by Xatmo970
This looks really Great. Good Work as always.
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 15 Aug 2016, 06:33
by joedf
Thanks :3
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 09 Oct 2016, 00:23
by pdi
I made a quick markdown viewer using your library
More info here:
https://github.com/phantomdiorama/SMDP
https://github.com/phantomdiorama/mAHKdown
[replaced outdated link] BoBo
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 09 Oct 2016, 10:14
by joedf
Very interesting
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 11 Oct 2016, 15:06
by Ronins
Seems really great JoeDF!
I was looking at the example, can you tell me what is __Webapp_AppStart:?
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 11 Oct 2016, 20:29
by joedf
Unfortunately, some weird initialisation is needed.
The label is there to force the auto run of the user's main script. :b
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 11 Oct 2016, 21:39
by guest3456
hrmmmmmm very interesting
originally i was confused about the description. i was hoping that i could run AHK code through a normal webbrowser. i guess the webserver would need to be able to deploy AHK code somehow. i guess that other AHKhttp server might do that
as i understand this, the AHK script loads the activex browser, which then runs code through javascript
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 02:25
by Ronins
well there might be a way to do this. You can collect the AHK script/code from the browser, run it through AutoHotkey.dll (or DynaRun by AutoHotkey_H), and then print the result in StdOut back to browser.
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 08:10
by joedf
Yes,
It simplifies the work for setting up the
js <-> AHK interaction. I am not exactly sure how to describe it
You could "connect" a whole bunch of things: ahkhttp, ahk_h, or whatever. It's really more to use the browser as an interface or GUI.
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 12:58
by Dan
Hi,
thank you for this nice GUI,
is there a way to go back to the main Interface page?
On page 1 and 2 the html - it has the link to GoTo Index - ie main page , but for some reason this does not work.
It works if you open the html files in a browser,
I wanted to click it within the GUI
cheers
Dan
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 13:39
by joedf
Really that's weird... I just tested it and it is working.
What version of AHK are you using? What is your system? OS?
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:07
by Dan
hI joedf,
yes, that is strange all else seems to be working.
I have not changed anything.
I have windows 10 64
Autohotkey 64.
dan
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:11
by joedf
you mean ahk v1.1.24.01?
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:14
by Dan
Hi Joedf,
I think i found a clue.
in the index file i did this - added a new page
<ul>
<li><a href="page1.html">Example page 1</a></li>
<li><a href="page2.html">Example page 2</a></li>
<li><a href="page3.html">Hello</a></li>
</ul>
Thats when it stopped working the go back to home page.
dan
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:30
by Dan
hi,
yes msgbox % "my ahk version: " A_AhkVersion
gave the one you just showed above
dan
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:37
by joedf
Hmmm.. that should be fine...
What about your AHK script?
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:45
by Dan
i dont have a ahk script yet I was investigating the sample Example,
so i added a link to see, I am a complete newbie so just testing things.
I only added that link to the index file - nothing else
dan
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:48
by Capn Odin
Damn I was to slow, wanted to make a bad joke about the 64 thing, I even made a promotional scatter plot using an as of yet not released version of
SVGraph.
Re: Webapp.ahk - Make web-based apps with AutoHotkey
Posted: 12 Oct 2016, 15:55
by joedf