Hi,
I think the main problem is $F7::
The $ prevents your other script (F6) from executing the F7 script.
Instead, it just sends a regular F7 key press rather than running the script.
Cheers!
Search found 1277 matches
- 06 May 2024, 10:58
- Forum: Ask for Help (v1)
- Topic: how to run 2 loop consecutively after the first loop is done
- Replies: 6
- Views: 513
- 06 May 2024, 03:53
- Forum: Ask for Help (v1)
- Topic: AHK script as Total Commander button
- Replies: 2
- Views: 354
Re: AHK script as Total Commander button
Hi and thanks for your answer. After multiple tries it finally worked. Either when the ahk script is in command or parameter. Also with %P%S, but even without this parameter. The import thing is that you don't drag the files into the button but just mark them and click the button. That's really conf...
- 03 May 2024, 15:16
- Forum: Ask for Help (v1)
- Topic: Issue with replacing HEX values Topic is solved
- Replies: 3
- Views: 405
Re: Issue with replacing HEX values Topic is solved
Hello Spawnova, I checked your script and it worked perfectly :bravo: To be sure I double checked it with the other method (multiple replaces in NPP with Hex-Plugin) and the result was 100% the same, but 10 times faster and much easier. The cool thing is that it also replaces more than 2 values, e.g...
- 30 Apr 2024, 17:13
- Forum: Ask for Help (v1)
- Topic: Issue with replacing HEX values Topic is solved
- Replies: 3
- Views: 405
Re: Issue with replacing HEX values Topic is solved
Hello again, A while ago I found some code which just uses a simple StrReplace. It was something like data := StrReplace(data, "{0xA}", "{0xB} I tried that, but again, the output file was only 4 bytes... I can open the file in Notepad++ and by using its HEX plugin I can actually see all the hex code...
- 30 Apr 2024, 16:19
- Forum: Ask for Help (v1)
- Topic: AHK script as Total Commander button
- Replies: 2
- Views: 354
AHK script as Total Commander button
Hello, I put an AHK script inside of the Total Commander (TC) button bar. Additionally, I added the path to the AHK compiler, so it looks like this (simplified): "C:\AutoHotkeyU64.exe" C:\myscript.ahk This is the AHK example script: for n, param in A_Args ; For each parameter: { MsgBox Parameter num...
- 14 Apr 2024, 14:03
- Forum: Ask for Help (v1)
- Topic: Issue with replacing HEX values Topic is solved
- Replies: 3
- Views: 405
Issue with replacing HEX values Topic is solved
Hello, I'm trying to replace HEX values in a MIDI file. I used jNizM 's great str2hex and hex2str functions. Then I created two arrays: One with the search values and the other one with the replace values. The script runs, but the output file is only 4 byte - the orig file was 1 kb. Any idea what th...
- 13 Mar 2024, 12:49
- Forum: Other Utilities & Resources
- Topic: Finding out DLLCalls + parameters for LED?
- Replies: 1
- Views: 328
Finding out DLLCalls + parameters for LED?
Hey all, I use an AHK script to set the lighting for my Logitech G PRO TKL keyboard. F1:: LGS_Set_Color(100, 0, 0) ; red return F2:: LGS_Set_Color(0, 0, 100) ; blue return F3:: LGS_Set_Color(0, 100, 0) ; green return F4:: LGS_Set_Color(100, 100, 100) ; white return LGS_Init_Color() { hModule := DllC...
- 14 May 2023, 16:36
- Forum: Off-topic Discussion
- Topic: Increase sound volume over 100?
- Replies: 7
- Views: 5190
Re: Increase sound volume over 100?
But this will not work in MS Teams if your team colleagues are too silent
Btw I stopped using YouTube anyway because the ads made me crazy.
I just downloaded all the music.
Cheers!
Btw I stopped using YouTube anyway because the ads made me crazy.
I just downloaded all the music.
Cheers!
- 05 Mar 2023, 18:24
- Forum: Off-topic Discussion
- Topic: Increase sound volume over 100?
- Replies: 7
- Views: 5190
Re: Increase sound volume over 100?
Thanks for the funny video. I solved the issue by using an AMP usb amplifer (don't need the USB audio interface anymore). And by using some anti noise filters (because I have multiple devices on my mixer), there is no more noise and all devices are loud enough. headphoneAMP.png noiseFilter.png Cheers!
- 23 Feb 2023, 05:56
- Forum: Ask for Help (v1)
- Topic: If Var1 = "A"
- Replies: 8
- Views: 629
Re: If Var1 = "A"
Edit:
Sorry, this is now AHK v2 section.
So I can't guarantee for my post
Sorry, this is now AHK v2 section.
So I can't guarantee for my post
- 23 Feb 2023, 05:50
- Forum: Ask for Help (v1)
- Topic: If Var1 = "A"
- Replies: 8
- Views: 629
Re: If Var1 = "A"
Code: Select all
F1::
if Var1 = "A"
{
Msgbox, "yes"
}
return
depending on how the exact value is.
Var1 = "A" and Var1 = A is not the same
Cheers
- 03 Feb 2023, 19:48
- Forum: Ask for Help (v1)
- Topic: GetKeyState inside of function
- Replies: 5
- Views: 776
Re: GetKeyState inside of function
Thanks for your reply. The first try did not work, but I had another idea which worked. I just added a : 5 up:: return For whatever reason it works now. :think: - I press 5 for a very short time (less than 200ms), then it outputs 5. - I press and hold 5, and it becomes a modifier. Well, it works. ;)...
- 02 Feb 2023, 17:18
- Forum: Ask for Help (v1)
- Topic: GetKeyState inside of function
- Replies: 5
- Views: 776
Re: GetKeyState inside of function
Hello and thank you both for your help. Adding global and using just KeyWait had a positive effect :thumbup: I have one last wish regarding this topic. My idea is that when I press a key for a short time (e.g. less than 200 ms), that it has its normal function. This can be useful for keys like F11 o...
- 02 Feb 2023, 05:36
- Forum: Ask for Help (v1)
- Topic: Can I write this better? Topic is solved
- Replies: 8
- Views: 813
Re: Can I write this better? Topic is solved
I think we have different point of views regarding better . :D morreo's solution is totally fine. With tab stops it would be perfect, though. F1:: Loop, 3 { Send, +{Tab} Sleep, 100 } return Since LAPIII is apparently not an advanced user, I would suggest to use easy and beginner friendly methods. Om...
- 01 Feb 2023, 18:21
- Forum: Ask for Help (v1)
- Topic: GetKeyState inside of function
- Replies: 5
- Views: 776
GetKeyState inside of function
Hello, I'm playing around with custom modifier keys, so instead of Shift+4 something like F1+4 Normally I always did it this way: F1:: while GetKeyState("F1") ; Works fine { modifier := 1 } modifier := 0 return #if modifier 4:: Send hello return 6:: Send test #if I'm wondering if I could also create...
- 09 Jan 2023, 10:10
- Forum: Off-topic Discussion
- Topic: Increase sound volume over 100?
- Replies: 7
- Views: 5190
Re: Increase sound volume over 100?
Hello, Well, I just solved the issue by using my old USB audio interface. There I just increased gain to maximum, and now it's pretty fine for all applications. If anyone has a more elegant solution, feel free to post it. BTW I goggled for aux amplifier, and the prices are ridiculous high. For me it...
- 28 Dec 2022, 14:04
- Forum: General Discussion
- Topic: V2 Officially Released!
- Replies: 10
- Views: 2158
Re: V2 Officially Released!
this-day-would-come-snl.gif Soooo, will I get any bad surprises when updating from 1.1.33.10 (and also other versions) :?: :?: :?: I have the bad feeling that once I switch my PC, tablet and laptop to AHK 2.0, I will have to spend 1 weekend of fixing errors :think: P.S: No offense! I appreciate all...
- 09 Dec 2022, 22:01
- Forum: Ask for Help (v1)
- Topic: How to make more hotkey shortcuts
- Replies: 7
- Views: 668
Re: How to make more hotkey shortcuts
If it is a touchscreen laptop, you can activate functions on your screen.
I have this on my Windows tablet.
5 Fingers on screen activates a big screen with functions.
No keys or buttons needed.
Cheers
I have this on my Windows tablet.
5 Fingers on screen activates a big screen with functions.
No keys or buttons needed.
Cheers
- 05 Dec 2022, 05:41
- Forum: Ask for Help (v1)
- Topic: How to make more hotkey shortcuts
- Replies: 7
- Views: 668
Re: How to make more hotkey shortcuts
@Topsport
Well, easier would be to use programmable keys and buttons like Logitech G Keys.
But apparently you found another solution, so, good luck
Cheers
Well, easier would be to use programmable keys and buttons like Logitech G Keys.
But apparently you found another solution, so, good luck
Cheers
- 04 Dec 2022, 07:53
- Forum: Ask for Help (v1)
- Topic: How to make more hotkey shortcuts
- Replies: 7
- Views: 668
Re: How to make more hotkey shortcuts
@Topsport :
What are your input devices?
(Keyboard and mouse model)
Cheers
What are your input devices?
(Keyboard and mouse model)
Cheers