Search found 97 matches
- 06 May 2024, 16:07
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
@Rohwedder following up with the latest BSL script from you. Trie it. Works like a charm. THank you much.
- 05 May 2024, 20:01
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
I’ll try or script at work tomorrow. Thank you.
- 05 May 2024, 12:39
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Rohwedder thank you as always. I will try it. Meanwhile, putting the script before other scripts worked. I had put the following reset script by you before all other scripts. Not it is in second position. Hope that does not make it ineffective. TY. ; Long press the escape key to reload and reset al...
- 05 May 2024, 09:23
- Forum: Ask for Help (v1)
- Topic: Script only works in isolation
- Replies: 8
- Views: 473
Re: Script only works in isolation
Brilliant! TY. I rearranged it. TY.
- 05 May 2024, 09:04
- Forum: Ask for Help (v1)
- Topic: Script only works in isolation
- Replies: 8
- Views: 473
Re: Script only works in isolation
The script works as is. But not when added to series of other scripts. For example, in the following example, it has been added at the end of other scripts. In this scenario, it does not work. TY. ; Long press the escape key to reload and reset all scripts ~$*Esc:: KeyWait, Esc, T1 IF !ErrorLevel Re...
- 05 May 2024, 08:48
- Forum: Ask for Help (v1)
- Topic: Script only works in isolation
- Replies: 8
- Views: 473
Re: Script only works in isolation
I am not sure I understand. In the following script, there is nothing below return. Thank you. ; Define the commands for each tap commands := ["{numpad0}", "{numpad1}", "{numpad2}", "{numpad3}", "{numpad8}"] ; Initialize the counter counter := 1 ; Hotkey for the "\" key f4:: ; Execute the correspond...
- 05 May 2024, 08:20
- Forum: Ask for Help (v1)
- Topic: Script only works in isolation
- Replies: 8
- Views: 473
Re: Script only works in isolation
I read the section. Unfortunately, it is too rich for me. I could not figure out how to modify it so it works with other scripts. Any further help will be appreciated.
- 05 May 2024, 08:10
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Why does the above script only work in isolation? When added to a larger .ahk file containing several other scripts, it fails to work. Othe scripts continue to work. TY.
- 05 May 2024, 08:08
- Forum: Ask for Help (v1)
- Topic: Script only works in isolation
- Replies: 8
- Views: 473
Script only works in isolation
I need help with the following script. I have a .ahk file that contains different kinds of scripts. All scripts in it work fine. Combining all in to one script obviously makes it easier to load all. The following script works fine when executed separately. However, when I add it to the larger file a...
- 03 May 2024, 08:04
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
The following seems to do the trick. ; Define the commands for each tap commands := ["command 1", "command 2", "command 3", "command 4", "command 5"] ; Initialize the counter counter := 1 ; Hotkey for the "\" key \:: ; Execute the corresponding command Send, % commands[counter] ; Increment the count...
- 03 May 2024, 06:52
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
The following seems to do the trick for numpad. But what if you want different kind of commands? TY. ; Initialize the counter counter := 1 ; Hotkey for the "\" key \:: ; Increment the counter counter := (counter = 5) ? 1 : counter + 1 ; Send the corresponding Numpad key Send, {Numpad%counter%} return
- 03 May 2024, 06:44
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Rohwedder thank you so much. the script works great. I will be able to use it regularly. Is it possible to have something where it is not time sensitive but cycles through case 1 to case 5? Regular tap instead of short tap is fine (or almost better). In other words, on tap 1, it sends command 1. Th...
- 02 May 2024, 15:57
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Rohwedder In keeping up with the long press theme is it possible to have a script where long press of the same key toggles through 3-4 commands. I know how to do short press toggle for two commands but no clue if and how one toggles through 3-4 commands by long pressing the same key. Thank you in a...
- 30 Apr 2024, 05:20
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
@Rohwedder thank you for the reset script. I end up needing it once or twice a day. Very useful. All offshoot scripts are working well. Wanted to give you follow up and thank you and others like you here who help us constantly!
- 25 Apr 2024, 05:07
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Thank you. The scripts add so much efficiency and convenience that I don’t mind rebooting the script. I did that 2-3 times yesterday. That is not a problem at all. I will add the escape script. Thank you very much. I was carrying vial loaded keyboard everywhere. Yesterday, I was able to ditch it and...
- 24 Apr 2024, 19:53
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
I could use the following.
Code: Select all
#IFWinActive, ahk_exe notepad.exe
$d::
keywait, d, T0.5
if errorlevel {
SoundBeep
Send e
} else Send d
keywait, d
; d key down would immediately trigger $d:: again
return
#IFWinActive
- 24 Apr 2024, 13:15
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
I meant winexist long press command one to specified program.
winexist short press command two to specified program (same as above)
nonwinexist send command three to any active program.
TY.
winexist short press command two to specified program (same as above)
nonwinexist send command three to any active program.
TY.
- 24 Apr 2024, 13:04
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Using 0x4090409:"United States (en-US) keyboard layout. As a different subject, In the winexist script in this thread, it applies long press to specific program and short press for any open program. Like in excel, is it possible to apply one more condition so that the scripts says ifwinexist program...
- 23 Apr 2024, 20:54
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Rohwedder Thank you for your followup. I have used your scripts to create 25 some macros at work. Greatly appreciate it. Today keys like 1,2,3 and 4 randomly stopped working like "\" yesterday. And worked fine when the scripts was exited. perpelxed. I will run your script at work and see what keybo...
- 23 Apr 2024, 05:53
- Forum: Ask for Help (v1)
- Topic: Long press is not working Topic is solved
- Replies: 78
- Views: 3729
Re: Long press is not working Topic is solved
Does "( LTrim Join C" or some other part of the code disable "\| key on the keyboard. The key stops working when the script is on. Does not start working even if I exit but works after rebooting the computer. Same thing happens if I run the code again.