Is there a difference between using keywait and using something like this:
MButton::Send {Blind}{Ctrl Down}{Shift Down}
MButton Up::Send {Blind}{Shift Up}{Ctrl Up}
Does keywait use more resources or?
[Mod edit: Based on posted code, moved topic to AHK v1 help.]
Difference between KeyWait and keybinds for up/down
Re: Difference between KeyWait and keybinds for up/down
After testing simple script like
both executing tooltip at 0.03s. Both are same.
Code: Select all
~LButton Up::ToolTip, Left Button Up ; 0.03
~LButton:: ; 0.03
KeyWait, LButton
ToolTip, Left Button Up
Return
My Creations
IMG2HotString - Send image file easily with your hotstring!
CtrlSend - A small solution for sending keys to window in background that doesn't accept ControlSend's key
ControlProcess
IMG2HotString - Send image file easily with your hotstring!
CtrlSend - A small solution for sending keys to window in background that doesn't accept ControlSend's key
Re: Difference between KeyWait and keybinds for up/down
Yes, these can be problems when multiple keys are being pressed, but for many other situations, they are fine. In some situations, the key-up hotkey is not what is needed. It depends on the circumstance.