Search found 4715 matches

by evilC
25 May 2019, 17:11
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 854

Re: Remap joystick (axis) to turn around how to use

Recalibrate the joystick, but switch the directions ;) If you have trouble doing it using the windows calibration tool, then use DIView There is a slight bug in the DIView manual calibration, you cannot type in negative values. To work around it, copy the value to the clipboard and paste. If you rea...
by evilC
17 May 2019, 09:12
Forum: Ask For Help
Topic: mouse wheel keybind
Replies: 8
Views: 331

Re: mouse wheel keybind

i was asking if any1 has a script for this Without saying what "this" was... Your problem is that you are using the wrong command. ControlSend does not support Mouse Wheel - you are simply sending the text W H E E L U P You need ControlClick instead WheelUp:: KeyWait, WheelUp, D ControlClick,, ahk_...
by evilC
17 May 2019, 08:58
Forum: Ask For Help
Topic: Scritp stops working when an item in a folder is activated
Replies: 8
Views: 386

Re: Scritp stops working when an item in a folder is activated

ANYTHING starting # is not part of the "flow of control", it's a "directive". That is to say, when the script loads, AHK skims the whole file for any line starting # and processes it once, at startup. Any line starting with # will NOT be processed when AHK is working through lines of code as part of...
by evilC
17 May 2019, 08:50
Forum: Ask For Help
Topic: mouse wheel keybind
Replies: 8
Views: 331

Re: mouse wheel keybind

It's like going into a garage and asking the mechanic to "Make the car work with all 5 of my family members". WTF does that even mean?? The seat needs adjusting? Some of them need a driving licence?? It could be ANYTHING Why should we put in a bunch of effort trying to second-guess what you mean, th...
by evilC
17 May 2019, 08:40
Forum: Ask For Help
Topic: Zoom to mouse cursor on browsers
Replies: 5
Views: 298

Re: Touchpad like mouse zooming

If you can find equivalent hotkeys (Isn't it Ctrl & + or Ctrl & - ?) then just remap the wheel to those hotkeys while in chrome

Code: Select all

#IfWinActive ahk_class Chrome_WidgetWin_1
WheelUp::Send ^{+}
WheelDown::Send ^{-}
by evilC
17 May 2019, 08:04
Forum: Ask For Help
Topic: Viewing Insert Key
Replies: 5
Views: 223

Re: Viewing Insert Key

Insert does not support the T parameter for GetKeyState - only keys with a status light do (NumLock, CapsLock, ScrollLock) GetKeyState(Insert , T) is wrong, as there is no such variable Insert or T - you should have quotes around them. And even if you fixed that, the code is unreachable Enter::+Ent...
by evilC
17 May 2019, 07:59
Forum: Ask For Help
Topic: AHK omits to remap some of wheel scroll moves
Replies: 4
Views: 262

Re: AHK omits to remap some of wheel scroll moves

+WheelDown::Send {1} says "When I hold shift and roll the wheel down, release shift, send 1, then re-press shift again" Because you are able to roll the wheel very quickly, when you see ! or @, AHK is probably unable to release and re-press shift quickly enough. Does the app you are trying to send ...
by evilC
17 May 2019, 07:54
Forum: Ask For Help
Topic: mouse wheel keybind
Replies: 8
Views: 331

Re: mouse wheel keybind

You are highly unlikely to get a "quick solution" when you have not described the problem
by evilC
17 May 2019, 04:51
Forum: Ask For Help
Topic: HELP: Problem with Choose Hotkey
Replies: 7
Views: 320

Re: HELP: Problem with Choose Hotkey

Your script does transfer from one hotkey to another just fine if you follow the procedure that you coded. Put 1 in the box, tick the checkbox, 1 works as hotkey Uncheck the box, type 2 in the box, check the checkbox, 2 works as hotkey, 1 does not work If you want the hotkey to automatically switch ...
by evilC
15 May 2019, 08:08
Forum: Ask For Help
Topic: Independent loop inside of larger AHK file? Topic is solved
Replies: 3
Views: 203

Re: Independent loop inside of larger AHK file? Topic is solved

The line ::testa::test A is before the loop. Hotkey / hotstring declarations in :: syntax stop execution, so the loop is unreachable code.
Put the hotstring at the end, with the other hotstring
by evilC
14 May 2019, 09:49
Forum: Ask For Help
Topic: Stopping current operation Topic is solved
Replies: 8
Views: 419

Re: Stopping current operation Topic is solved

I can't even begin to work out what that spaghetti code does... Half of it is pointless, eg loop 5 { ;gosub up1 Sleep(5000) } which is no different to Sleep 2500 I have NO IDEA what the Sleep() or Remember() functions are meant to be achieving If you want to send sequences of characters, and easily ...
by evilC
14 May 2019, 09:42
Forum: Ask For Help
Topic: Detect screen motion
Replies: 1
Views: 134

Re: Detect screen motion

Forget it, certainly not gonna happen with one pixel in each direction, and using enough pixels to yield correct information would probably be too slow to be of use.
Also doubly forget it if it is a 3D game - the pixels will not match due to change in perspective, lighting etc
by evilC
13 May 2019, 06:44
Forum: Gaming
Topic: Want to change Send to SendInput
Replies: 2
Views: 263

Re: Want to change Send to SendInput

FYI {space}{space}{space}{space}{space}{space}{space}{space}{space} can be simplified to {Space 9} If changing Send to SendInput does not work, then probably the game does not like the SendInput send mode. However, this is probably ONLY for the command that opens the chat window (I am assuming that ...
by evilC
10 May 2019, 04:29
Forum: Ask For Help
Topic: post json data ???
Replies: 2
Views: 177

Re: post json data ???

What you are ACTUALLY encoding is this:

Code: Select all

{

    taskDateTime: 2019-01-05,

    pCode: 330900

}
Which is not the same as what is in your screenshot (Missing quotes)
by evilC
10 May 2019, 04:26
Forum: Ask For Help
Topic: Basic Script
Replies: 8
Views: 408

Re: Basic Script

$~::Send ^{~}
by evilC
10 May 2019, 04:23
Forum: Ask For Help
Topic: Timing issues
Replies: 2
Views: 184

Re: Timing issues

See WinWaitActive
by evilC
09 May 2019, 11:35
Forum: AutoHotkey_H
Topic: [AHK_H v2] Bug: some funky gui scrolling behavior Topic is solved
Replies: 4
Views: 734

Re: [AHK_H v2] Bug: some funky gui scrolling behavior Topic is solved

Was this bug with our scroll implementation? Will it affect v1 too?
Just wondering if it is worth releasing a new version of UCR with an update AHK_H exe - I never did find the source of some of the scrolling issues (I just couldn't repro them), I wonder if this was it.
by evilC
09 May 2019, 11:28
Forum: Gaming
Topic: Mouse mapping or disabling
Replies: 13
Views: 872

Re: Mouse mapping or disabling

The code looks like it will re-launch the script as admin if launched without admin rights, however you would get a UAC prompt each time you run the script (If UAC is enabled, of course). If you use RunAsTask, you only get a UAC prompt the very first time you run the script - on subsequent launches,...
by evilC
09 May 2019, 04:57
Forum: Ask For Help
Topic: How to toggle between keyboards with scroll lock Topic is solved
Replies: 4
Views: 256

Re: How to toggle between keyboards with scroll lock Topic is solved

Are we talking single keyboard operation here, or do you have two keyboards, one of which you want to put into Macro Mode, without affecting the main keyboard?
If the latter, AHK cannot do that normally, see AutoHotInterception (Link in signature)

Go to advanced search