[SOLVED] Weird Bug?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Iomega0318
Posts: 83
Joined: 06 Apr 2015, 14:56
Location: Wolfforth, TX
Contact:

[SOLVED] Weird Bug?

11 May 2015, 13:39

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.
Last edited by Iomega0318 on 12 May 2015, 11:12, edited 1 time in total.
kon
Posts: 1756
Joined: 29 Sep 2013, 17:11

Re: Weird Bug?

11 May 2015, 13:59

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.
User avatar
Iomega0318
Posts: 83
Joined: 06 Apr 2015, 14:56
Location: Wolfforth, TX
Contact:

Re: Weird Bug?

11 May 2015, 14:06

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..
kon
Posts: 1756
Joined: 29 Sep 2013, 17:11

Re: Weird Bug?

11 May 2015, 14:13

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)
User avatar
Iomega0318
Posts: 83
Joined: 06 Apr 2015, 14:56
Location: Wolfforth, TX
Contact:

Re: Weird Bug?

11 May 2015, 14:14

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 :)
User avatar
Iomega0318
Posts: 83
Joined: 06 Apr 2015, 14:56
Location: Wolfforth, TX
Contact:

Re: Weird Bug?

11 May 2015, 16:13

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
User avatar
Iomega0318
Posts: 83
Joined: 06 Apr 2015, 14:56
Location: Wolfforth, TX
Contact:

Re: Weird Bug?

12 May 2015, 09:55

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..

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 356 guests