Search found 30 matches

by Sashkon
31 Mar 2020, 17:34
Forum: Ask For Help
Topic: scroll wheel to click?
Replies: 5
Views: 249

Re: scroll wheel to click?

Yes, but i still want to use mousewheel to click... Did you try my code? Is it true that it presses only 1 time if you scroll fast?
by Sashkon
31 Mar 2020, 15:39
Forum: Ask For Help
Topic: remap RAlt, RCtrl, Apskey, / to arrows?
Replies: 1
Views: 151

Re: remap RAlt, RCtrl, Apskey, / to arrows?

I just trying to do like in 60% mechanical keyboard. Where you ralt is left and rctrl is right and so on... To access ralt or rctrl you need to press fn key But how to do that in standard keyboard like in logitech k120 (example)?? For example https://img3.bgxcdn.com/thumb/large/oaupload/banggood/ima...
by Sashkon
31 Mar 2020, 15:04
Forum: Ask For Help
Topic: scroll wheel to click?
Replies: 5
Views: 249

Re: scroll wheel to click?

@Scr1pter
I just want to scroll to ease hand pain while clicking rapidly in programs, so i don't need extra clicks
With mousewheel i can press exact times fast how i need...
by Sashkon
31 Mar 2020, 14:02
Forum: Ask For Help
Topic: scroll wheel to click?
Replies: 5
Views: 249

scroll wheel to click?

how to remap scroll wheel to mouse clicks? I want to click very fast with scroll wheel
I tried this code, but if scroll fast 180°it will click only 1 time

Code: Select all

WheelUp::Click
WheelDown::Click
I clicking here https://www.click-test.com/
by Sashkon
31 Mar 2020, 08:59
Forum: Ask For Help
Topic: remap RAlt, RCtrl, Apskey, / to arrows?
Replies: 1
Views: 151

remap RAlt, RCtrl, Apskey, / to arrows?

RAlt::Left RCtrl::Right AppsKey::Down /::Up I trying to remap rctrl ralt AppsKey / to arrow keys for better ergonomical purpose. but it work so bad. example video https://drive.google.com/file/d/1Ig82YU-PBeeCyPFd-DcekdloZWsC92rm/view If i press fast rctrl alt appskey / it should press arrows, but y...
by Sashkon
23 Mar 2020, 08:46
Forum: Ask For Help
Topic: Alt & b use as mouse click? Dragging doesn't work
Replies: 6
Views: 1083

Re: Alt & b use as mouse click? Dragging doesn't work

For me vk07 opens xbox game bar. vk99 is unassigned and does nothing
by Sashkon
23 Mar 2020, 08:36
Forum: Ask For Help
Topic: Alt & b use as mouse click? Dragging doesn't work
Replies: 6
Views: 1083

Re: Alt & b use as mouse click? Dragging doesn't work

Also about my code If I drag icon on desktop it will create new shortcut for icon...
#MenuMaskKey vk99 doesn't help
by Sashkon
23 Mar 2020, 07:28
Forum: Ask For Help
Topic: Alt & b use as mouse click? Dragging doesn't work
Replies: 6
Views: 1083

Alt & b use as mouse click? Dragging doesn't work

!b::Click I want to use alt & b as quiet mouse click, because mouse is loud. But dragging doesn't work. Any help? I tried this code !b:: SendInput, {Click down} SendInput, {Alt up} KeyWait, b return !b up:: SendInput, {Click up} return But I don't understand why Ctrl is being pressed. Is there simp...
by Sashkon
12 Mar 2020, 07:02
Forum: Ask For Help
Topic: sleep blocks next same button press?
Replies: 1
Views: 188

sleep blocks next same button press?

$k:: SendInput, k Sleep, 500 ;heavy task (FileAppend) return I think i understand why ahk skips my buttons.... I can't press k fast, because FileAppend blocking next press. FileAppend can take up to 500ms for some reason.. With ~ modifier, it doesn't blockk, but kkeys are double clickking. ~$k:: Se...
by Sashkon
10 Mar 2020, 13:05
Forum: Ask For Help
Topic: Remap shift + numpad?
Replies: 3
Views: 208

Re: Remap shift + numpad?

boiler wrote:
10 Mar 2020, 12:48
Shift+NumpadLeft works for me.
with turned on numlock?
by Sashkon
10 Mar 2020, 12:41
Forum: Ask For Help
Topic: Remap shift + numpad?
Replies: 3
Views: 208

Remap shift + numpad?

Code: Select all

+Numpad4::MsgBox, 123
+NumpadLeft::MsgBox, 123
With turned numlock on it doesn't work...
if I press shift + numpad 4 - nothing will happen. Because shift + numpad is already reserved for windows..
Is it possible to trigger MsgBox with turned on numlock?
by Sashkon
09 Mar 2020, 01:10
Forum: Ask For Help
Topic: Get accurate time in milliseconds? Topic is solved
Replies: 2
Views: 382

Get accurate time in milliseconds? Topic is solved

getTime(){ return A_TickCount } f11:: start := getTime() i := 0 Loop, 100000 { i := i + 1 } TooLtip % getTime() - start return If you press F11 it will print 0, 31, or 62. which is not accurate I think....I think it should print atleast something between 20, and 50, but seems A_TickCount updates ev...
by Sashkon
31 Dec 2019, 14:29
Forum: Ask For Help
Topic: ahk Script is sleeping after 5 minutes
Replies: 2
Views: 314

Re: ahk Script is sleeping after 5 minutes

I will send an example.
by Sashkon
31 Dec 2019, 02:49
Forum: Ask For Help
Topic: ahk Script is sleeping after 5 minutes
Replies: 2
Views: 314

ahk Script is sleeping after 5 minutes

I have a simple settimer, but after 5 mins ahk sleeps and I need move mouse to continue
How is that possible? But i didn't implement mousemove to continue.
by Sashkon
01 Aug 2019, 22:30
Forum: Ask For Help
Topic: One key with two functions
Replies: 11
Views: 1018

Re: One key with two functions

You can press x and on key up - press click

Code: Select all

$x::
	SendInput, x
	KeyWait, x
	SendInput, {Click}
	return
by Sashkon
01 Aug 2019, 13:40
Forum: Ask For Help
Topic: One key with two functions
Replies: 11
Views: 1018

Re: One key with two functions

If I wanted three different keys to do the same thing would I just make a script like this ~x::Click ~c::Click ~v::Click All in one script? Yes, Do all hotkeys in one file. and add #IfWinActive so your keys will active only when they needed. #IfWinActive, ahk_exe game.exe $x::SendInput, x{Click} $c...
by Sashkon
01 Aug 2019, 13:08
Forum: Ask For Help
Topic: One key with two functions
Replies: 11
Views: 1018

Re: One key with two functions

Xtra wrote:
01 Aug 2019, 12:43
Another example:

Code: Select all

~x::Click 
This doesn't work for quickscope, because click first then x
by Sashkon
01 Aug 2019, 12:40
Forum: Ask For Help
Topic: One key with two functions
Replies: 11
Views: 1018

Re: One key with two functions

Hi, Try this
x presses x ,Click

Code: Select all

$x::SendInput, x{Click}
by Sashkon
01 Aug 2019, 12:04
Forum: Ask For Help
Topic: exact alt & shift press
Replies: 2
Views: 367

Re: exact alt & shift press

Thank you very much, Rohwedder. It works good and has no confilicts. But it seems like this works only in one way. It works only alt + shift , but shift + alt will not work. I write this code, and it works like windows changes keyboard layout (alt + shift or ctrl + shift) onTranslate(){ MsgBox, aler...
by Sashkon
31 Jul 2019, 22:05
Forum: Ask For Help
Topic: exact alt & shift press
Replies: 2
Views: 367

exact alt & shift press

Code: Select all

Alt & Shift up::MsgBox, alert!
It will triggered if i press alt shift r (or other key). How to bind only alt shift? There's an easy way, like appending $ or *?

Go to advanced search