Search found 3131 matches

by evilC
Today, 12:06
Forum: Ask For Help
Topic: Joystick to mouse with auto recentre.
Replies: 6
Views: 52

Re: Joystick to mouse with auto recentre.

Try this. You may need to alter Joystick := 1 if the joystick you want to use is not the first stick. You may also need to tweak with the MouseMove, x, y, 0 line #SingleInstance Force #Persistent Joystick := 1 ; Change this to the ID number of your joystick ScaleFactorX := A_ScreenWidth / 100 ScaleF...
by evilC
Today, 05:35
Forum: Gaming
Topic: Why installing kb hook stops send command from working
Replies: 2
Views: 25

Re: Why installing kb hook stops send command from working

I take it the script is using the SendInput send mode? From the docs : If a script other than the one executing SendInput has a low-level keyboard hook installed, SendInput automatically reverts to SendEvent (or SendPlay if SendMode InputThenPlay is in effect). This is done because the presence of a...
by evilC
Today, 05:28
Forum: Ask For Help
Topic: Joystick to mouse with auto recentre.
Replies: 6
Views: 52

Re: Joystick to mouse with auto recentre.

UCR does joystick to relative mouse. I take it by "center" you mean you want the mouse to be in the center of the screen when the joystick is centered? UCR cannot do that. Are you 100% sure this is what you want? Most games utterly ignore the position of the mouse cursor, they only care ab...
by evilC
Yesterday, 17:50
Forum: Ask For Help
Topic: bu0836 buttons not being read after surge
Replies: 5
Views: 57

Re: bu0836 buttons not being read after surge

Do you have another known good stick? Does it work with that?
by evilC
Yesterday, 15:14
Forum: Ask For Help
Topic: bu0836 buttons not being read after surge
Replies: 5
Views: 57

Re: bu0836 buttons not being read after surge

AHK uses the WinMM API to read sticks. Can this script read them? It can read sticks via DirectInput, so if DIView can still read your leo board OK, I think this should too. It's a little bit more work to set up than just using GetKeyState (You have to load a DLL), but it's way way nicer to work wit...
by evilC
Yesterday, 11:15
Forum: Ask For Help
Topic: ImageSearch with transparency tolerance? Topic is solved
Replies: 10
Views: 129

Re: ImageSearch with transparency tolerance? Topic is solved

The Image contains the main Orange color from the button just without being transparent. I don't think you are getting me. Let's say that the application stores the image of the button on disk as a 50% transparent PNG. When the application loads the image and then displays it on the screen, each pi...
by evilC
Yesterday, 11:00
Forum: Ask For Help
Topic: how to focus (activate) mouse cursor
Replies: 11
Views: 102

Re: how to focus (activate) mouse cursor

I recommend ShareX instead of the windows clipping tool.
ShareX will even auto-upload to Imgur for you and put a link in the clipboard.
You can define hotkeys for clipping, so you do not even need to "open" the app.
by evilC
Yesterday, 10:55
Forum: Gaming
Topic: help with double key
Replies: 9
Views: 59

Re: help with double key



But note that when you first press s, one s will be sent, then when you hit LShift, two more s will be sent, so a total of 3 will be sent.

You maybe want
by evilC
Yesterday, 04:44
Forum: Ask For Help
Topic: duplicate hotkey
Replies: 8
Views: 93

Re: duplicate hotkey

Oops, sorry, my bad, #if does not support else. You would need: #if A_UserName = CSR[index] $NumpadEnter::NumpadEnter #if #if A_UserName != CSR[index] $NumpadEnter::Tab #if And as I said, YOU CANNOT put #if inside a foreach loop like that. #if blocks are totally stand-alone and not part of the norma...
by evilC
Yesterday, 04:39
Forum: Gaming
Topic: help with double key
Replies: 9
Views: 59

Re: help with double key

It doesn't like the $ prefix, dunno why.
With s & LShift::send ss, your hotkey may self-trigger.

Try
by evilC
20 Jun 2017, 14:29
Forum: Ask For Help
Topic: Scrolling inactive window Topic is solved
Replies: 4
Views: 75

Re: Scrolling inactive window Topic is solved

Try sending {WheelUp} or {WheelDown} instead?
by evilC
20 Jun 2017, 14:26
Forum: Ask For Help
Topic: Find out if your request is being forwarded
Replies: 5
Views: 74

Re: Find out if your request is being forwarded

Status := Web.Status
by evilC
20 Jun 2017, 14:19
Forum: Ask For Help
Topic: Broken: User InputBox alters a value in a CMD command then exports to results to msgbox.
Replies: 1
Views: 36

Re: Broken: User InputBox alters a value in a CMD command then exports to results to msgbox.

AHK does not expand variables inside a quoted string.
Exec() is a method (Function) not a command, so you do not need to wrap variables in %
MsgBox % ComObjCreate("WScript.Shell").Exec("net user " Output " /domain").StdOut.ReadAll()
by evilC
20 Jun 2017, 14:16
Forum: Gaming
Topic: help with double key
Replies: 9
Views: 59

Re: help with double key

$s & LShift::send ss ?
by evilC
20 Jun 2017, 11:58
Forum: Ask For Help
Topic: Find out if your request is being forwarded
Replies: 5
Views: 74

Re: Find out if your request is being forwarded

Properties of the object returned by WinHttpRequest
Seems like the Status property should tell you this.

HTTP Status codes

So I am guessing that Status 301, 302 etc means redirected?
by evilC
20 Jun 2017, 11:49
Forum: Ask For Help
Topic: duplicate hotkey
Replies: 8
Views: 93

Re: duplicate hotkey

Actually, I don't think this code does what you want either #if A_UserName = % CSR[index]

I don't think you can use % like that, I think you probably want #if A_UserName = CSR[index]
by evilC
20 Jun 2017, 11:45
Forum: Ask For Help
Topic: duplicate hotkey
Replies: 8
Views: 93

Re: duplicate hotkey

Even if you used different hotkeys, the code does not do what you think it does. You cannot declare a hotkey in the flow of execution like that. To be clear, this NumpadEnter hotkey is IN NO WAY related to the if A_UserName = % CSR[index] condition that wraps it. if A_UserName = % CSR[index] { $Nump...
by evilC
20 Jun 2017, 11:37
Forum: Gaming
Topic: help with double key
Replies: 9
Views: 59

Re: help with double key

Your statements seem contradictory. I want to hold the S then press the LShift as in the second script Ok... so you want S+LShift to activate the macro? , but the second script if press only S it does not work. So you want S on it's own to activate the macro? What do you want? Do you want S to trigg...
by evilC
20 Jun 2017, 11:13
Forum: Ask For Help
Topic: Simplest code to switch keyboard layout to English?
Replies: 5
Views: 69

Re: Simplest code to switch keyboard layout to English?

If you read the link that Rohwedder posted, it shows how to set a specific hotkey for each language.

Go to advanced search