Search found 35 matches

by Sashkon
17 Sep 2020, 09:25
Forum: Ask for Help (v1)
Topic: How to send smooth scroll signal or detect fail?
Replies: 0
Views: 169

How to send smooth scroll signal or detect fail?

I want to send smooth scroll signal like touchpad. I tried this code. It works great in chrome, but some apps ignore it. Windows file manager ignores it and windows settings too. If it's not possible to fix I want to detect if it's not working and send usual scroll signal PostMW(deltay, deltax := 0)...
by Sashkon
25 Aug 2020, 23:37
Forum: Ask for Help (v1)
Topic: How to increase windows scaling programmatically with ahk?
Replies: 2
Views: 376

Re: How to increase windows scaling programmatically with ahk?

I figured out here https://www.autohotkey.com/boards/viewtopic.php?t=65908#:~:text=%2D%20Press%20Win%2BAlt%2BPgDn,3240x2160%20and%20scaling%20to%20200%25 It works immediately without logging Out Numpad1:: RegWrite, REG_DWORD, HKEY_CURRENT_USER\Control Panel\Desktop\PerMonitorSettings\IVM761511718012...
by Sashkon
25 Aug 2020, 21:30
Forum: Ask for Help (v1)
Topic: How to increase windows scaling programmatically with ahk?
Replies: 2
Views: 376

Re: How increase windows scaling programmatically with ahk?

You can programmatically change resolution with DllCall , but how to increase scaling without simulating clicks? ChangeResolution(Screen_Width := 1920, Screen_Height := 1080, Color_Depth := 32) { VarSetCapacity(Device_Mode,156,0) NumPut(156,Device_Mode,36) DllCall( "EnumDisplaySettingsA", UInt,0, UI...
by Sashkon
24 Aug 2020, 10:56
Forum: Ask for Help (v1)
Topic: How to increase windows scaling programmatically with ahk?
Replies: 2
Views: 376

How to increase windows scaling programmatically with ahk?

How to increase windows scaling programmatically with ahk?
Image
by Sashkon
31 Mar 2020, 17:34
Forum: Gaming Help (v1)
Topic: scroll wheel to click?
Replies: 5
Views: 19187

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 (v1)
Topic: remap RAlt, RCtrl, Apskey, / to arrows?
Replies: 1
Views: 425

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: Gaming Help (v1)
Topic: scroll wheel to click?
Replies: 5
Views: 19187

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: Gaming Help (v1)
Topic: scroll wheel to click?
Replies: 5
Views: 19187

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 (v1)
Topic: remap RAlt, RCtrl, Apskey, / to arrows?
Replies: 1
Views: 425

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 (v1)
Topic: Alt & b use as mouse click? Dragging doesn't work
Replies: 6
Views: 1444

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 (v1)
Topic: Alt & b use as mouse click? Dragging doesn't work
Replies: 6
Views: 1444

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 (v1)
Topic: Alt & b use as mouse click? Dragging doesn't work
Replies: 6
Views: 1444

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 (v1)
Topic: sleep blocks next same button press?
Replies: 1
Views: 329

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 (v1)
Topic: Remap shift + numpad?
Replies: 3
Views: 539

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 (v1)
Topic: Remap shift + numpad?
Replies: 3
Views: 539

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 (v1)
Topic: Get accurate time in milliseconds? Topic is solved
Replies: 2
Views: 1037

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 (v1)
Topic: ahk Script is sleeping after 5 minutes
Replies: 2
Views: 566

Re: ahk Script is sleeping after 5 minutes

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

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 (v1)
Topic: One key with two functions
Replies: 11
Views: 3511

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

Go to advanced search