Perhaps the lower case letter {l} is required or a longer keystroke time {l Down}{50}{l Up}?
If you have found a working SendTimer Output, try to find out whether it also works without:
keywait, d ; after the D key has been released
Search found 7623 matches
- Today, 01:34
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 34
- Views: 434
- Yesterday, 11:15
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 34
- Views: 434
Re: Long press is not working Topic is solved
I have placed a Sleep 100 before the ^m: #IFWinActive, ahk_exe notepad.exe $*d:: ; $* both modifier required! keywait, d, T0.5 if errorlevel { ; long press starts SendTimer no. 1: SoundBeep ; Sleep 100, ^m, Sleep 1500, ^+v, Sleep 500, L keywait, d ; after the D key has been released SendTimer(1, "{1...
- Yesterday, 10:32
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 34
- Views: 434
Re: Long press is not working Topic is solved
Have you forgotten to add or include the SendTimer functions?
- Yesterday, 10:05
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 34
- Views: 434
Re: Long press is not working Topic is solved
only soundbeep and ^M worked. ^+V and L did not work Perhaps your work application was disturbed by the D key still being pressed? In this version, the SendTimer is only started after the D key has been released: #IFWinActive, ahk_exe notepad.exe $*d:: ; $* both modifier required! keywait, d, T0.5 ...
- Yesterday, 07:33
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 34
- Views: 434
Re: Long press is not working Topic is solved
Try: #IFWinActive, ahk_exe notepad.exe $*d:: Switch, Morse() { Case "0":SendTimer(5, "single short press`n",-200) ;single short press writes "single short press" with 200ms/character Case "1":Send e ; single long press sends e Case "00":Send f ; send "f" with double tapping of "d" key Case "000":Sen...
- Yesterday, 01:57
- Forum: Ask for Help (v1)
- Topic: How to fix failing physical mouse button Topic is solved
- Replies: 2
- Views: 46
Re: How to fix failing physical mouse button Topic is solved
Hallo,
try:
try:
Code: Select all
*XButton2::
Click, X2 Down
Loop {
KeyWait, XButton2
KeyWait, XButton2, DT.2
} Until, ErrorLevel
Click, X2 Up
Return
- Yesterday, 01:06
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 34
- Views: 434
Re: Long press is not working Topic is solved
Then: #IFWinActive, ahk_exe notepad.exe $*d:: ; $* both modifier required! keywait, d, T0.5 if errorlevel { SoundBeep SendTimer(1, " ; long press starts SendTimer no. 1 ( LTrim Join C {Ctrl Down}{Shift Down}{h}{Shift Up}{Ctrl Up} ; ^+h {100} ; Sleep 100 {Ctrl Down}{m}{Ctrl Up} ; ^m {500} ; Sleep 500...
- 16 Apr 2024, 11:11
- Forum: Ask for Help (v1)
- Topic: how to change special function key in kinesis keyboard
- Replies: 2
- Views: 30
Re: how to change special function key in kinesis keyboard
Hallo,
Autohotkey should at least recognise this key! Try: https://www.autohotkey.com/docs/v2/KeyList.htm#SpecialKeys
In the unlikely event that it works, Autohotkey could tap it a second time after releasing the key.
Autohotkey should at least recognise this key! Try: https://www.autohotkey.com/docs/v2/KeyList.htm#SpecialKeys
In the unlikely event that it works, Autohotkey could tap it a second time after releasing the key.
- 16 Apr 2024, 10:57
- Forum: Ask for Help (v2)
- Topic: Executing ahk from the window of last mouse click
- Replies: 12
- Views: 252
Re: Executing ahk from the window of last mouse click
Just a start!: #Requires AutoHotkey v2.0 ~LButton:: { ; left click down ; The moment the user clicks on this icon an ahk script has to be executed. Static XLeft:=275, YUp:=181, XRight:=306, YDown:=212, WinOld:=0 CoordMode "Mouse", "Screen" ; X... Y... = Icon area MouseGetPos &X, &Y, &Win ; Cursor co...
- 16 Apr 2024, 08:31
- Forum: Ask for Help (v2)
- Topic: Executing ahk from the window of last mouse click
- Replies: 12
- Views: 252
Re: Executing ahk from the window of last mouse click
Only if this coordinate area (icon area) is the same each time. Otherwise, for example, a unique ClassNN would be better.
- 16 Apr 2024, 07:08
- Forum: Ask for Help (v2)
- Topic: Change screen resolution Rev. 1
- Replies: 8
- Views: 132
Re: Change screen resolution Rev. 1
Why do you want to convert this v1.1 function? Put it in a v1.1 script and call it with your v2 script via run with parameter passing.
- 16 Apr 2024, 04:06
- Forum: Ask for Help (v2)
- Topic: Change screen resolution Rev. 1
- Replies: 8
- Views: 132
Re: Change screen resolution Rev. 1
I am not a DllCall expert (otherwise I wouldn't need such help scripts) but so far it has worked like this.
- 16 Apr 2024, 03:45
- Forum: Ask for Help (v2)
- Topic: Change screen resolution Rev. 1
- Replies: 8
- Views: 132
Re: Change screen resolution Rev. 1
Hallo, when I have to do this annoying (v1: VarSetCapacity -> v2: Buffer) translation, I always look at these examples: #Requires AutoHotkey v1.1.33 OnExit("ClipCursor") Confine := False q:: ; lock mouse in place On/Off CoordMode, Mouse, Screen MouseGetPos, x, y ClipCursor(Confine := !Confine, x++, ...
- 16 Apr 2024, 01:15
- Forum: Ask for Help (v2)
- Topic: Boilerplate current time Topic is solved
- Replies: 5
- Views: 75
Re: Boilerplate current time Topic is solved
Hallo,
perhaps?:
perhaps?:
Code: Select all
:?*X:,time::Send A_Hour ":" A_Min
- 16 Apr 2024, 01:07
- Forum: Ask for Help (v2)
- Topic: Executing ahk from the window of last mouse click
- Replies: 12
- Views: 252
Re: Executing ahk from the window of last mouse click
Autohotkey can recognise that you are left-clicking.
In your case, however, it must also recognise that you are left-clicking on this SCADA icon. I don't know if the required window spy infos is enough, but without it I don't see any possibility!
In your case, however, it must also recognise that you are left-clicking on this SCADA icon. I don't know if the required window spy infos is enough, but without it I don't see any possibility!
- 15 Apr 2024, 06:55
- Forum: Ask for Help (v2)
- Topic: Executing ahk from the window of last mouse click
- Replies: 12
- Views: 252
Re: Executing ahk from the window of last mouse click
Which dual monitor setup are you using? I.e. after the key combination Win + P on active desktop, which of the modes PC screen only Duplicate Extend second screen only is selected? What information shows Window Spy (right click AutoHotkey icon in tray) regarding this/these "icons(s) which can be acc...
- 11 Apr 2024, 09:57
- Forum: Gaming
- Topic: Newbie here! Need help before I pull my hair out!
- Replies: 2
- Views: 44
Re: Newbie here! Need help before I pull my hair out!
Hallo, for me, it was much more v1 than v2. Logically, Google doesn't know v2 that well yet. #Requires AutoHotkey v1.1.33 #Persistent SetTimer CheckProgram, 1000 return CheckProgram: If WinExist("ahk_exe gs2.exe") { SetTimer CheckProgram, Off ; ??? WinActivate ; ??? Send {Alt down}{Enter}{Alt up} } ...
- 11 Apr 2024, 09:35
- Forum: Ask for Help (v2)
- Topic: Issue with Building an Array Using a Loop Topic is solved
- Replies: 10
- Views: 267
Re: Issue with Building an Array Using a Loop Topic is solved
Hallo @teadrinker,
in your opinion, what would be the best translation of your v1 array example to v2?
in your opinion, what would be the best translation of your v1 array example to v2?
- 11 Apr 2024, 01:20
- Forum: Gaming Help (v1)
- Topic: Pause, STOP, restart.
- Replies: 2
- Views: 41
Re: Pause, STOP, restart.
Hallo, how to avoid long Sleep : NumpadDot:: ; on/off IF !toggle := !toggle { SetTimer, T1, Off SetTimer, T2, Off Return } Counter = 100 T0: controlsend, , {a Down}{p Down}{w up}, ahk_exe javaw.exe SetTimer, T1, -69000 Return T1: controlsend, , {a Up}{w Down}, ahk_exe javaw.exe sleep 1000 controlsen...
- 10 Apr 2024, 03:42
- Forum: Ask for Help (v2)
- Topic: Keyboard a4tech kv-300h and FN-key
- Replies: 2
- Views: 42
Re: Keyboard a4tech kv-300h and FN-key
Hallo,
unfortunately you have to try it yourself:
https://www.autohotkey.com/docs/v2/KeyList.htm#SpecialKeys
unfortunately you have to try it yourself:
https://www.autohotkey.com/docs/v2/KeyList.htm#SpecialKeys