Search found 104 matches

by Flarebrass
04 Apr 2016, 06:21
Forum: Ask For Help
Topic: AutoHotKey stopped working after plugging new keyboard, even if I restart computer
Replies: 5
Views: 1156

Re: AutoHotKey stopped working after plugging new keyboard, even if I restart computer

Do you have any wireless receivers connected to any USB port? Are you using a different USB port than your original keyboard? I've had a bad history of motherboards not supporting all of the available USB slots. Also try uninstalling all of your keyboard drivers, then reinstall your intended keyboar...
by Flarebrass
04 Apr 2016, 05:31
Forum: Gaming
Topic: Bot help - going from autoit to AHK
Replies: 4
Views: 2091

Re: Bot help - going from autoit to AHK

If you have any hotkeys in the first file that's included, then anything beyond those hotkeys is considered to be beyond the auto-execute section. You will need to call functions or use GoSub s to reach the other portions of the script. Make use of Critical for the section you mentioned here: "my on...
by Flarebrass
01 Apr 2016, 08:52
Forum: Ask For Help
Topic: hotkey with 2 clicks on one button Topic is solved
Replies: 4
Views: 859

Re: hotkey with 2 clicks on one button Topic is solved

Using a combination of code from this link and A_PriorKey , I think you should have enough knowledge to detect if the last two keystrokes were the same keystroke, and how far apart they were pressed. Most of the documentation states that keys detected in this manner can only be printable keys; while...
by Flarebrass
01 Apr 2016, 05:33
Forum: Ask For Help
Topic: AutoHotKey stopped working after plugging new keyboard, even if I restart computer
Replies: 5
Views: 1156

Re: AutoHotKey stopped working after plugging new keyboard, even if I restart computer

That is interesting. I don't have Windows 10, but I know people have mentioned that it functions a bit differently. Have you tried looking at the key history that AHK is detecting? If you're not even detecting any key history, then it would likely be a hardware/software issue and not your code. One ...
by Flarebrass
31 Mar 2016, 08:19
Forum: Ask For Help
Topic: SendInput ignoring second key
Replies: 3
Views: 487

Re: SendInput ignoring second key

As a completely rudimentary technique, you can manually throw all the details into your loop. As Nextron mentioned, you can use a lot of really nice features at the beginning of your script to make it function throughout the entire script, but here's the fleshed-out version: SendMode Event ;SendMode...
by Flarebrass
31 Mar 2016, 06:45
Forum: Ask For Help
Topic: Keywait with While loop
Replies: 2
Views: 953

Re: Keywait with While loop

If I'm understanding correctly, you only want the program to send a maximum of one keystroke regardless of how long you're holding down the key. This keystroke will only be sent once the pixel is detected. If that's correct, then your loop needs to be broken once the pixel is detected. As is, your c...
by Flarebrass
31 Mar 2016, 06:31
Forum: Ask For Help
Topic: Legos gaming mouse side butons?
Replies: 2
Views: 411

Re: Legos gaming mouse side butons?

Example for remapping mouse buttons. If your mouse isn't sending the commands XButton1, XButton2 , etc, then use KeyHistory to determine what your mouse is sending. For example: #InstallKeybdHook #InstallMouseHook #KeyHistory 10 Sleep, 2000 KeyHistory Activate the script, then press your mouse butt...
by Flarebrass
30 Mar 2016, 06:51
Forum: Gaming
Topic: Bot help - going from autoit to AHK
Replies: 4
Views: 2091

Re: Bot help - going from autoit to AHK

#Include %A_ScriptDir%\AHKFileNameToInclude.ahk That would be the way to paste the contents of another script into the current script. I'm not familiar with AutoIt, so I'm not sure if it uses RGB notation, but PixelSearch uses BGR notation meaning 0x0000FF = Red. Try altering the variation a bit, a...
by Flarebrass
30 Mar 2016, 06:22
Forum: Ask For Help
Topic: Questions about logjams, command queueing & keyboard input
Replies: 1
Views: 539

Re: Questions about logjams, command queueing & keyboard input

1) When running a script, how does AHK handle logjams (ie where other software or hardware holds up commands from executing at their specified times)? 2) Is there a way to tell AHK to skip certain commands if they cannot execute in a certain period of time? 3) If a logjam occurs, does AHK give prio...
by Flarebrass
30 Mar 2016, 05:25
Forum: Gaming
Topic: unable to get #ifwinactive or suspend to work properly Topic is solved
Replies: 3
Views: 1041

Re: unable to get #ifwinactive or suspend to work properly Topic is solved

If you're defining the hotkey on the same line, then there is no need for the return statement; that would only be necessary for a multi-line block. The following two statements are identical: Ralt::Suspend Ralt:: Suspend return The best place to put this hotkey definition is at the very end of the ...
by Flarebrass
29 Mar 2016, 07:17
Forum: Gaming
Topic: unable to get #ifwinactive or suspend to work properly Topic is solved
Replies: 3
Views: 1041

Re: unable to get #ifwinactive or suspend to work properly Topic is solved

It would appear that there's a lot of sleeps during the main loop. What hotkey have you used for the Suspend command, and where did you place, for example, +^Q::Suspend?
by Flarebrass
29 Mar 2016, 06:51
Forum: Ask For Help
Topic: edit an .csv data
Replies: 12
Views: 1924

Re: edit an .csv data

My .csv Data looks like that: "Artikelnummer";"HAN";"Artikelname";;;;;;;; "99999";"De854765 DD8547113=8547114 854766";"BREMSSCHLÄUCHE VA+HA komplett";;;;;; The Problem is, that I have to split the second row like that: "99999";"De854765";"BREMSSCHLÄUCHE VA+HA komplett";;;;;; "99999";"DD8547113=8547...
by Flarebrass
29 Mar 2016, 06:21
Forum: Gaming
Topic: Need help with series of commands for 1 button Topic is solved
Replies: 7
Views: 1924

Re: Need help with series of commands for 1 button Topic is solved

"Change Blade and Soul to the window title of Blade and Soul." #ifwinactive Blade & Soul The single character "&" and the three characters "and" are different, and I don't think AHK will interchange them. Make sure you've got the right window title. Also, at the very top of the script, you can add ...
by Flarebrass
29 Mar 2016, 05:45
Forum: Ask For Help
Topic: Send command triggering other parts of the script
Replies: 2
Views: 516

Re: Send command triggering other parts of the script

Or reference the Hotkeys page with the tilde "~" key. Change it from A:: to ~A::. I'm more familiar with this method over #UseHook because it's better for my specific applications.
by Flarebrass
23 Mar 2016, 05:49
Forum: Ask For Help
Topic: Problem with #IfWinActive condition.
Replies: 5
Views: 991

Re: Problem with #IfWinActive condition.

The way I've dealt with this in the past is to use MouseGetPos . Whenever you press a hotkey, have it run a function which closely follows the example from the MouseGetPos page to check if the mouse is over Irfanview or not, then have it send the appropriate keystroke(s). I tend to post on my work c...
by Flarebrass
18 Mar 2016, 08:30
Forum: Gaming
Topic: BlackDesert - Fishing Script
Replies: 2
Views: 6574

Re: BlackDesert - Fishing Script

If the images are static, as in they never change color/size/etc, then it should be possible using ImageSearch . You will first save each of the four graphics for WASD as a .png or another format recognized by ImageSearch. After you've saved those images, the algorithm may look like this: After pres...
by Flarebrass
18 Mar 2016, 08:16
Forum: Gaming
Topic: In need of a certain script Topic is solved
Replies: 1
Views: 752

Re: In need of a certain script Topic is solved

https://autohotkey.com/board/topic/6457 ... re-thread/

That should have all the answers you're looking for.
by Flarebrass
15 Mar 2016, 06:49
Forum: Gaming
Topic: help with 2 scripts for Warframe
Replies: 5
Views: 3088

Re: help with 2 scripts for Warframe

Someone else would have to clarify with mice buttons being reconfigured to send keystrokes since I don't know all the details. My guess would be that the mouse is overriding some of your keyboard functions and AHK isn't interpreting it correctly. If you try to log your key history and hold Shift whi...
by Flarebrass
15 Mar 2016, 06:37
Forum: Gaming
Topic: About Alt+t Topic is solved
Replies: 1
Views: 719

Re: About Alt+t Topic is solved

So you've tried pasting a few things from the clipboard to the in-game chat without AutoHotKey, and the clipboard contents aren't pasting properly? If that's the case, then the clipboard can't be used directly; you should manually submit each character in the clipboard to the chat box or find anothe...
by Flarebrass
15 Mar 2016, 06:33
Forum: Gaming
Topic: autoclicker Topic is solved
Replies: 4
Views: 1101

Re: autoclicker Topic is solved

You can copy and paste that code into a text editor and save it with the extension .ahk, then run the file by double clicking it. As mentioned, you can adjust the parameters to change how often it clicks by right-clicking the file and editing it.

Go to advanced search