Auto Hotkey Scripts

Discuss how to use FL Studio

Return to “FL Studio Users Forum (Looptalk)”

Forum rules
Please read them here.
[You can only see part of this thread as you are not logged in to the forums]
Pierre Sosa
Tue Dec 06, 2022 3:18 pm

x

Re: Auto Hotkey Scripts

Michael Dow wrote:
Tue Dec 06, 2022 10:21 am
Pierre Sosa wrote:
Mon Dec 05, 2022 3:25 pm
Michael Dow wrote:
Mon Dec 05, 2022 4:11 am
Pierre Sosa wrote:
Thu Dec 01, 2022 7:01 pm


Do you have detached windows on the second screen?
They don't stay on the screen if they aren't detached. Annoyingly they just go back to the other monitor, albeit in a random useless position.
Another question: do you use "#IfWinActive ahk_class TFruityLoopsMainForm" directive in your scripts? If yes, then the hotkeys won't work for detached windows, as detached windows don't belong to class ahk_class TFruityLoopsMainForm. Try to use "#IfWinActive ahk_exe FL64.exe" directive instead (or "FL64 (scaled).exe" if you use that). Now it should work with detached windows.

I do use that, ill try that new one thank you so much!

How do you know to enter that? What does ahk_class TFruityLoopsMainForm mean? And why is it called FL Studio? It's not been called that for a decade now. Is FL still calling itself FL Studio in the background?

Also what does MainForm mean?


I'm not at my studio pc at the moment, but just getting ahead, i have a novation launch pad mini mk3 coming soon purely for many of these AHK scripts. Some currently only work when i have a certiain window clicked on. IS there a way to make them all work permanently? For example, i have AHK's setup to automatically load up certain instrument channels. And some to load up certain FX at just the press of a midi button. It's awesome. But works only when a certain window is focused i think.

Now i have 2 monitors again, (first time since using AHK) will i be able to use AHK's that ar linked to the mixer at the same time as the playlist, regardless of which one was last clicked on?



Also
To get the windows names and classes you can use the "windows spy" tool from AutoHotkey. When you have any script running (from *.ahk file, not compiled to *.exe), you should have "H" icon in the tray. Open its menu with a right mouse button, choose 'windows spy" and turn on 'follow mouse" setting in the top right corner of Window Spy window. Now if you hover a mouse cursor over any window, Window Spy should show a windows class for that window. It's not 100% reliable, as sometimes it shows wrong names, but it usually works fine.

I'm not a programmer, so I'm not sure about from where that T-Form stuff comes, but it probably comes from Visual Component Library framework where classes/windows/controls has that naming convention. But like I said I'm not sure about that.

For the last question I would probably need to have a look into your script to see why it works only for focused window. Also if you plan to use MIDI controller it may be a good idea to get into MIDI scripting.

Michael Dow
Thu Dec 08, 2022 7:07 am

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Tue Dec 06, 2022 3:18 pm Mi...

D3Mens
Thu Dec 08, 2022 11:05 am

x

Re: Auto Hotkey Scripts

I'm not sure if you're aware of this but whenev...

Pierre Sosa
Thu Dec 08, 2022 2:52 pm

x

Re: Auto Hotkey Scripts

Michael Dow wrote: ↑Thu Dec 08, 2022 7:07 am ...

Michael Dow
Fri Dec 09, 2022 6:38 am

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Thu Dec 08, 2022 2:52 pm Mi...

SpagHeddy
Fri Dec 09, 2022 11:04 am

x

Re: Auto Hotkey Scripts

if anyone manages to figure out how to use ahk ...

Pierre Sosa
Fri Dec 09, 2022 3:59 pm

x

Re: Auto Hotkey Scripts

SpagHeddy wrote: ↑Fri Dec 09, 2022 11:04 am if ...
Last edited by Pierre Sosa on Sun Dec 11, 2022 11:39 pm, edited 1 time in total.

SpagHeddy
Fri Dec 09, 2022 7:57 pm

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Fri Dec 09, 2022 3:59 pm Sp...

Pierre Sosa
Fri Dec 09, 2022 10:07 pm

x

Re: Auto Hotkey Scripts

SpagHeddy wrote: ↑Fri Dec 09, 2022 7:57 pm Firs...

Pierre Sosa
Fri Dec 09, 2022 11:34 pm

x

Re: Auto Hotkey Scripts

SpagHeddy wrote: ↑Fri Dec 09, 2022 7:57 pm Fir...

SpagHeddy
Sat Dec 10, 2022 12:24 am

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Fri Dec 09, 2022 11:34 pm S...

Pierre Sosa
Sat Dec 10, 2022 1:22 pm

x

Re: Auto Hotkey Scripts

SpagHeddy wrote: ↑Sat Dec 10, 2022 12:24 am Ye...
Last edited by Pierre Sosa on Sat Dec 10, 2022 5:31 pm, edited 2 times in total.

SpagHeddy
Sat Dec 10, 2022 3:19 pm

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Sat Dec 10, 2022 1:22 pm O...

Pierre Sosa
Sat Dec 10, 2022 4:12 pm

x

Re: Auto Hotkey Scripts

SpagHeddy wrote: ↑Sat Dec 10, 2022 3:19 pm So ...

SpagHeddy
Sat Dec 10, 2022 5:01 pm

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Sat Dec 10, 2022 4:12 pm Sp...

Pierre Sosa
Sat Dec 10, 2022 5:34 pm

x

Re: Auto Hotkey Scripts

SpagHeddy wrote: ↑Sat Dec 10, 2022 5:01 pm Pier...

Pierre Sosa
Sun Dec 11, 2022 10:35 pm

x

Re: Auto Hotkey Scripts

We need to go deeper Windows Manager.mp4
You do not have the required permissions to view the files attached to this post.

Michael Dow
Mon Dec 12, 2022 6:20 am

x

Re: Auto Hotkey Scripts

Can i make a script NOT work when a text box is...

Pierre Sosa
Mon Dec 12, 2022 3:22 pm

x

Re: Auto Hotkey Scripts

Michael Dow wrote: ↑Mon Dec 12, 2022 6:20 am Ca...

SpagHeddy
Mon Dec 12, 2022 7:55 pm

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Sun Dec 11, 2022 10:35 pm W...

Michael Dow
Wed Dec 14, 2022 5:50 am

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Mon Dec 12, 2022 3:22 pm = ...

Pierre Sosa
Wed Dec 14, 2022 3:01 pm

x

Re: Auto Hotkey Scripts

Michael Dow wrote: ↑Wed Dec 14, 2022 5:50 am Pi...

Pierre Sosa
Wed Dec 14, 2022 4:13 pm

x

Re: Auto Hotkey Scripts

@Michael Dow Ok, I've made it simpler (and mor...

Michael Dow
Fri Dec 16, 2022 10:41 pm

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Wed Dec 14, 2022 4:13 pm @M...
You do not have the required permissions to view the files attached to this post.

Michael Dow
Fri Dec 16, 2022 10:44 pm

x

Re: Auto Hotkey Scripts

Hey man, thank you so much for your time again ...

Pierre Sosa
Sat Dec 17, 2022 10:20 am

x

Re: Auto Hotkey Scripts

@Michael Dow Try this, but... I can't post the...

Michael Dow
Sat Dec 17, 2022 8:55 pm

x

Re: Auto Hotkey Scripts

Thanks for that. It still doesn't work when the...

Pierre Sosa
Sat Dec 17, 2022 9:43 pm

x

Re: Auto Hotkey Scripts

Michael Dow wrote: ↑Sat Dec 17, 2022 8:55 pm Th...

Michael Dow
Sun Dec 18, 2022 1:44 am

x

Re: Auto Hotkey Scripts

Sorry yes i mean save/save as dialog box., It d...

Pierre Sosa
Sun Dec 18, 2022 12:40 pm

x

Re: Auto Hotkey Scripts

Weird In such cases some investigation is nee...

Hjorten
Sat Feb 04, 2023 7:19 pm

x

Re: Auto Hotkey Scripts

I've been racking my brain reading the AHK v2 m...

Pierre Sosa
Sat Feb 04, 2023 9:57 pm

x

Re: Auto Hotkey Scripts

Hjorten wrote: ↑Sat Feb 04, 2023 7:19 pm I've b...

Hjorten
Sun Feb 05, 2023 5:53 am

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Sat Feb 04, 2023 9:57 pm Hj...

suvinmusic
Thu Mar 23, 2023 6:49 am

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: ↑Sun Aug 21, 2022 2:50 pm B...

pbali
Mon Oct 23, 2023 5:20 pm

x

Re: Auto Hotkey Scripts

Pierre Sosa wrote: "Try to use "#IfWinActive ah...


Return to “FL Studio Users Forum (Looptalk)”