So it is kinda hard to explain but I wrote a script which was working fine, however now it does this weird thing where when you run it it seems as if all the buttons are being clicked at once, it was designed to write an email and there are two buttons on the GUI it is trying to use both and causing tons or issues I don't know why or how it started acting up like this but I don't even know where to start with fixing it.. Any ideas?
**EDIT**
I figured out what was causing it. Now just need to figure out how to fix it.
[SOLVED] Weird Bug?
- Iomega0318
- Posts: 83
- Joined: 06 Apr 2015, 14:56
- Location: Wolfforth, TX
- Contact:
[SOLVED] Weird Bug?
Last edited by Iomega0318 on 12 May 2015, 11:12, edited 1 time in total.
Re: Weird Bug?
Instead of describing the issue to us, which could be caused by any number of things, try giving us some code to work with.
Start with a copy of your script, and remove as much of the useless code as possible while still being able to replicate the issue.
Once you have isolated the problem you may see the cause of the issue yourself. If you are still stumped, post the short code snippet that replicates your issue.
Start with a copy of your script, and remove as much of the useless code as possible while still being able to replicate the issue.
Once you have isolated the problem you may see the cause of the issue yourself. If you are still stumped, post the short code snippet that replicates your issue.
- Iomega0318
- Posts: 83
- Joined: 06 Apr 2015, 14:56
- Location: Wolfforth, TX
- Contact:
Re: Weird Bug?
Well I just tested it on another computer and it runs as intended it just seems to be my computer, I thought it was an addon I installed in Excel so I just removed it and still the same issue.. I also just updated my version of AHK and no change.. I have no idea what's changed..
Re: Weird Bug?
I'm just guessing...
Do you have any other scripts running that could interfere?
Maybe the script is sending keystrokes, but those keys also trigger more events. (see #UseHook or the $ hotkey prefix)
Do you have any other scripts running that could interfere?
Maybe the script is sending keystrokes, but those keys also trigger more events. (see #UseHook or the $ hotkey prefix)
- Iomega0318
- Posts: 83
- Joined: 06 Apr 2015, 14:56
- Location: Wolfforth, TX
- Contact:
Re: Weird Bug?
afaik I have no running scripts in the background right now.. I even restarted a few times.. I will check for any scripts running though..
**EDIT**
Ok so nothing else is running.. I would say it's the script but it would be doing it on other computers if that were the case.. but I mean it still could be lol my script is pretty messy :)
**EDIT**
Ok so nothing else is running.. I would say it's the script but it would be doing it on other computers if that were the case.. but I mean it still could be lol my script is pretty messy :)
- Iomega0318
- Posts: 83
- Joined: 06 Apr 2015, 14:56
- Location: Wolfforth, TX
- Contact:
Re: Weird Bug?
Since I can't upload a video, here is a link to where you can see a short video of what happens..
https://vid.me/D105
https://vid.me/D105
- Iomega0318
- Posts: 83
- Joined: 06 Apr 2015, 14:56
- Location: Wolfforth, TX
- Contact:
Re: Weird Bug?
Ok so I can't even edit my posts because the new site doesn't like me.. ugh.. I was trying to edit the one above and say:
It looks as if it's trying to run through the entire script on my computer, haven't noticed this on any other computer, regardless of which button is clicked on the GUI.. this thing is driving me crazy lol..
It looks as if it's trying to run through the entire script on my computer, haven't noticed this on any other computer, regardless of which button is clicked on the GUI.. this thing is driving me crazy lol..