Search found 82 matches
- 18 May 2018, 11:11
- Forum: Ask For Help
- Topic: [SOLVED] WebApp.Ahk crash on key spam
- Replies: 3
- Views: 849
[SOLVED] WebApp.Ahk crash on key spam
I'm using Joedf's webApp.ahk library to run an HTML GUI for my AHK app. When trying to type into a HTML textbox/text area, if there are to many keys typed to quickly, autohotkey will experience a fatal error, it will almost completely freeze the entire system. Faulting application name: Eclipse.exe,...
- 18 May 2018, 05:47
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
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 ...
- 16 May 2018, 05:28
- Forum: Scripts and Functions
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
- Replies: 379
- Views: 169179
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Stavencross Really been digging in to this Lib, its so helpful! Just want to see if ya'll have a better way on how to scrape the JSON I've been grabbing from these pages. Here is my code: *snip* If you check jsonGrabber(), you'll see I'm grabbing the JSON from the page DOM. I grab the innerHTML of ...
- 16 May 2018, 05:17
- Forum: Ask For Help
- Topic: Code cleanup - PowerPoint COM
- Replies: 8
- Views: 1872
Re: Code cleanup - PowerPoint COM
Ah!nnnik wrote:He means that if you repeat specific code almost like it is copy pasted you should put it in a seperate function.Stavencross wrote:What?copy-pasta segments indicate possible candidate for extract method
Thank you for the insight!
- 13 May 2018, 10:57
- Forum: Scripts and Functions
- Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
- Replies: 309
- Views: 154645
Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
I could, but the Salesforce team wouldn't give me curl access, and the php Api comes pre-built so it was a lot easier than trying to screw with it.kczx3 wrote:Very cool. You couldn’t consume the API with just JavaScript XMLHttpRequest calls?
- 12 May 2018, 17:33
- Forum: Ask For Help
- Topic: Code cleanup - PowerPoint COM
- Replies: 8
- Views: 1872
Re: Code cleanup - PowerPoint COM
besides what kzxc3 has already mentioned: do away with vars such as firstReplacement , thats a clear indicator that u need some kind of a data structure however simple it may be. use an array instead Ok, so I need to create an array, good suggestion! stuff those message boxes and long ass strings s...
- 12 May 2018, 17:30
- Forum: Scripts and Functions
- Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
- Replies: 309
- Views: 154645
Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
https://gph.is/2IdGhMk Here's a GIF of my GUI, I just redesigned the whole app over the last couple days. I use joedf's webapp.ahk to build it in HTML/CSS/JS/jQuery. I drive it with a mixture of AHK and PHP (it comes bundled with a stripped down version of zwamp), the PHP is to allow me to consume ...
- 12 May 2018, 16:14
- Forum: Ask For Help
- Topic: Code cleanup - PowerPoint COM
- Replies: 8
- Views: 1872
Re: Code cleanup - PowerPoint COM
Yes, right now it's all one function, that's kind of what I'm looking for, what parts of this could be broken up into additional functions? Why shouldn't I use compound if statements? This refactorization is the precurser to a full blown app rewrite where I do a lot more notifications via javascript...
- 12 May 2018, 13:08
- Forum: Ask For Help
- Topic: Code cleanup - PowerPoint COM
- Replies: 8
- Views: 1872
Code cleanup - PowerPoint COM
Good afternoon! I've been working on this massive script for about 7 months now, and I'm refactoring all my code to be better/more elegant. I was hoping I could get some smarter people than I to take a look at my below function and help me understand how to write it better. The point of the script i...
- 12 May 2018, 09:36
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
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
- 05 May 2018, 09:54
- Forum: Scripts and Functions
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
- Replies: 379
- Views: 169179
grabbing JSON from page
Really been digging in to this Lib, its so helpful! Just want to see if ya'll have a better way on how to scrape the JSON I've been grabbing from these pages. Here is my code: url := reportURL("campaignSpend",ServiceId) ChromeInst := new Chrome("ChromeProfile", "http://google.com" ,"--headless") Pag...
- 10 Apr 2018, 06:37
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
Oh I see it now, maybe it was a load issue... Very nice work! :+1: So I had an interesting thought. Do you think it would possible to have a web page on a webserver with the js to run an AHK function written in that would interact with the local computer? For instance I go to a page on the web and ...
- 21 Feb 2018, 11:29
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
I’d be curious how you’re using PHP and what JavaScript framework you’re using, if any. Sorry about the delayed response here. I use a mixture of php/ahk as my main drivers, I'll list the languages used and how below. PHP runs on page load, it does some INI read/write so I don't have crazy long URL...
- 26 Jan 2018, 19:05
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
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 we...
- 26 Jan 2018, 19:02
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
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 proble...
- 07 Jan 2018, 09:57
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
No problem, let me know. I can make the change later on :+1: That's interesting, could you post a screenshot of this error? And, Is this error gone or mitigated with your fix? The error itself is non-descriptive, it just says "Autohotkey has encountered an error and needs to close". The symptom is ...
- 06 Jan 2018, 17:22
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
Glad to hear! :dance: About the crash, interestingly I have not run into this issue. :think: Could you make a pull request? :+1: https://github.com/joedf/Webapp.ahk Im not going to lie to you, I'm not sure how to go about doing that! Edit: I'll do one in the morning as I'm away from my computer. On...
- 06 Jan 2018, 10:07
- Forum: Tips and Tricks
- Topic: [GUI] Use HTML and CSS for your GUIs!
- Replies: 137
- Views: 110907
Re: [GUI] Use HTML and CSS for your GUIs!
Hello! First, I'd like to thank you Joe, because your webapp.ahk has really helped me and I've built an entire platform for myself on it, looping in PHP, JS, HTML,CSS, even making SOAP API calls! it's really awesome!!! I do have one challenge I just can't seem to get past though. I have full fledged...
- 19 Dec 2017, 12:12
- Forum: Ask For Help
- Topic: Help Decompiling
- Replies: 11
- Views: 1490
Re: Help Decompiling
... my computer died ... Maybe your harddisk lives. Thats bad luck. Even some non-functional disks could get read out by recovering programs. That was my first thought, my IT guys said that because the drive is encrypted, when they enter the unencrypt code, the drive fails to unlock, apparently tha...
- 19 Dec 2017, 12:10
- Forum: Ask For Help
- Topic: Help Decompiling
- Replies: 11
- Views: 1490
Re: Help Decompiling
This function launches a word doc that is added later to outbound emails via a copy/paste command using COM. It is called via function "setUpEmail(ServiceID,emailType)" editNoteTemplate() { emailTemplatePath = %A_ScriptDir%\Assets\MPRNoteTemplate.docx run %emailTemplatePath% getTime := A_Now WinWait...