how do i stop a macro from interacting with control/shift?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
heydan
Posts: 4
Joined: 27 Sep 2023, 11:18

how do i stop a macro from interacting with control/shift?

10 Oct 2023, 10:35

the issue im having with this macro is when i hold shift or control the macro wont execute

Code: Select all

WheelDown::
   Send , 1
   Sleep 1
   Send, {WheelUp} 
   Sleep 1
   Send, {WheelUp} 
   Sleep 1
   Send , 1
   Sleep 1
   Send , 1  
return
so i tried *$WheelDown:: however the issue that was giving me was if i was holding down shift/control when i scrolled down shift/control would be released

is there a way to have a WheelDown macro without it interaction with control/shift?
Last edited by joedf on 10 Oct 2023, 10:42, edited 1 time in total.
Reason: fix [code] tags
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: how do i stop a macro from interacting with control/shift?

10 Oct 2023, 11:55

Use blind

Code: Select all

*WheelDown::
   Send , 1
   Sleep 1
   Send, {Blind}{WheelUp} 
   Sleep 1
   Send, {Blind}{WheelUp} 
   Sleep 1
   Send , 1
   Sleep 1
   Send , 1  
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], peter_ahk and 363 guests