Search found 1271 matches
- 13 Mar 2024, 12:49
- Forum: Other Utilities & Resources
- Topic: Finding out DLLCalls + parameters for LED?
- Replies: 1
- Views: 141
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: 5066
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: 5066
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: 593
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: 593
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: 735
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: 735
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: 752
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: 735
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: 5066
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: 2018
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: 631
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: 631
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: 631
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
- 03 Dec 2022, 11:29
- Forum: Scripts and Functions (v1)
- Topic: XInput - Xbox Controller API
- Replies: 24
- Views: 19291
Re: XInput - Xbox Controller API
Hi I must ask two questions:
1.
Is this compatible to ANY USB game controllers?
Or must or specifically be an xinput controller?
2.
Does this script support "button up"?
In AHK you can easily set functions to key up::
For Joy buttons this does not work, you have to add getkeystate.
Cheers
1.
Is this compatible to ANY USB game controllers?
Or must or specifically be an xinput controller?
2.
Does this script support "button up"?
In AHK you can easily set functions to key up::
For Joy buttons this does not work, you have to add getkeystate.
Cheers
- 03 Dec 2022, 08:42
- Forum: Off-topic Discussion
- Topic: Increase sound volume over 100?
- Replies: 7
- Views: 5066
Increase sound volume over 100?
Hello, Due to my current setup (3 devices plugged on 1 mixer) I have the issue that the volume on my laptop is not loud enough. On the PC and on the Synth it's loud enough. I use 1 pair of headphones for all 3 devices. (3 in, 1 out) Because I had some strange noises I had to buy some ground loop/mas...
- 18 Nov 2022, 16:55
- Forum: Ask for Help (v1)
- Topic: Passing quotation mark within string to function? Topic is solved
- Replies: 1
- Views: 387
Passing quotation mark within string to function? Topic is solved
Hello, In many cases I would prefer the shorter variant, and I wonder if it's somehow possible. Then problem is I can't use quotation marks within a string when I want to pass it to some function. Instead, I need a helper variable (as a workaround) +Space:: myString = "asdhj"k123/("!" ; Works test :...
- 14 Nov 2022, 14:24
- Forum: Ask for Help (v1)
- Topic: if variable contains value and value
- Replies: 1
- Views: 533
if variable contains value and value
Hello, I tried several versions, but it didn't work. All others don't work. I'm sure I used other methods too - no chance to get it working! Important is that it's not if test contains hello,one because that would be similar to OR . The first version works of course, but it's pretty amateurish :thin...
- 12 Nov 2022, 18:27
- Forum: Ask for Help (v1)
- Topic: How to copy the FULL file to clipboard from specific path?
- Replies: 8
- Views: 4089
Re: How to copy the FULL file to clipboard from specific path?
Thank you - this works! I made it a little bit smaller, because I don't need the part with the sorting. So it's just: F1:: ClipBoardSetFiles("C:\Song.mp3") return The function is the same, but at the end I added a ClipWait, 0.3 and Send ^v I did several tests and everything was fine. :bravo: Cheers!
- 11 Nov 2022, 17:54
- Forum: Ask for Help (v1)
- Topic: How to copy the FULL file to clipboard from specific path?
- Replies: 8
- Views: 4089
Re: How to copy the FULL file to clipboard from specific path?
Hello, sorry for the "grave shoveling", but I tried it and it did not work. Apparantly there is something inside of the Clipboard (after I run the script), but when I want to paste it, there is just this Windows error sound when you press keys but nothing happens... My file is for example this: C:\s...