Search found 1275 matches

by Scr1pter
03 May 2024, 15:16
Forum: Ask for Help (v1)
Topic: Issue with replacing HEX values Topic is solved
Replies: 3
Views: 366

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...
by Scr1pter
30 Apr 2024, 17:13
Forum: Ask for Help (v1)
Topic: Issue with replacing HEX values Topic is solved
Replies: 3
Views: 366

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...
by Scr1pter
30 Apr 2024, 16:19
Forum: Ask for Help (v1)
Topic: AHK script as Total Commander button
Replies: 1
Views: 255

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...
by Scr1pter
14 Apr 2024, 14:03
Forum: Ask for Help (v1)
Topic: Issue with replacing HEX values Topic is solved
Replies: 3
Views: 366

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...
by Scr1pter
13 Mar 2024, 12:49
Forum: Other Utilities & Resources
Topic: Finding out DLLCalls + parameters for LED?
Replies: 1
Views: 283

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...
by Scr1pter
14 May 2023, 16:36
Forum: Off-topic Discussion
Topic: Increase sound volume over 100?
Replies: 7
Views: 5172

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!
by Scr1pter
05 Mar 2023, 18:24
Forum: Off-topic Discussion
Topic: Increase sound volume over 100?
Replies: 7
Views: 5172

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!
by Scr1pter
23 Feb 2023, 05:56
Forum: Ask for Help (v1)
Topic: If Var1 = "A"
Replies: 8
Views: 621

Re: If Var1 = "A"

Edit:
Sorry, this is now AHK v2 section.

So I can't guarantee for my post ;)
by Scr1pter
23 Feb 2023, 05:50
Forum: Ask for Help (v1)
Topic: If Var1 = "A"
Replies: 8
Views: 621

Re: If Var1 = "A"

Code: Select all

F1::
if Var1 = "A"
{
  Msgbox, "yes"
}
return
Keep in mind that if Var1 = A can also be correct,
depending on how the exact value is.

Var1 = "A" and Var1 = A is not the same

Cheers
by Scr1pter
03 Feb 2023, 19:48
Forum: Ask for Help (v1)
Topic: GetKeyState inside of function
Replies: 5
Views: 766

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. ;)...
by Scr1pter
02 Feb 2023, 17:18
Forum: Ask for Help (v1)
Topic: GetKeyState inside of function
Replies: 5
Views: 766

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...
by Scr1pter
02 Feb 2023, 05:36
Forum: Ask for Help (v1)
Topic: Can I write this better? Topic is solved
Replies: 8
Views: 798

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...
by Scr1pter
01 Feb 2023, 18:21
Forum: Ask for Help (v1)
Topic: GetKeyState inside of function
Replies: 5
Views: 766

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...
by Scr1pter
09 Jan 2023, 10:10
Forum: Off-topic Discussion
Topic: Increase sound volume over 100?
Replies: 7
Views: 5172

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...
by Scr1pter
28 Dec 2022, 14:04
Forum: General Discussion
Topic: V2 Officially Released!
Replies: 10
Views: 2099

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...
by Scr1pter
09 Dec 2022, 22:01
Forum: Ask for Help (v1)
Topic: How to make more hotkey shortcuts
Replies: 7
Views: 655

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
by Scr1pter
05 Dec 2022, 05:41
Forum: Ask for Help (v1)
Topic: How to make more hotkey shortcuts
Replies: 7
Views: 655

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
by Scr1pter
04 Dec 2022, 07:53
Forum: Ask for Help (v1)
Topic: How to make more hotkey shortcuts
Replies: 7
Views: 655

Re: How to make more hotkey shortcuts

@Topsport :
What are your input devices?
(Keyboard and mouse model)

Cheers
by Scr1pter
03 Dec 2022, 11:29
Forum: Scripts and Functions (v1)
Topic: XInput - Xbox Controller API
Replies: 24
Views: 19807

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
by Scr1pter
03 Dec 2022, 08:42
Forum: Off-topic Discussion
Topic: Increase sound volume over 100?
Replies: 7
Views: 5172

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...

Go to advanced search