Hosts that can load VSTs from shortcuts
-
- KVRAF
- 6111 posts since 18 Oct, 2007
aMUSEd I found this, this morning via the AHK forum..
Take a look see maybe it could help solve the issue.
Looks to me like all that would need to be done is an loop array of folders containing the plugins to be assigned to (*.lnk) in the example.
This could in theory generate a list and location of said plugins.
Alls that would be left would be:
- Choosing a particular plugin.
- Putting that file to mouse location.
- Facilitate the host to be able to open via a drag and drop (or other method if not supported).
Take a look see maybe it could help solve the issue.
ExampleAHK commands list wrote:FileGetShortcut
--------------------------------------------------------------------------------
Retrieves information about a shortcut (.lnk) file, such as its target file.
FileGetShortcut, LinkFile [, OutTarget, OutDir, OutArgs, OutDescription, OutIcon, OutIconNum, OutRunState]
Parameters
LinkFile Name of the shortcut file to be analyzed, which is assumed to be in %A_WorkingDir% if an absolute path isn't specified. Be sure to include the .lnk extension.
OutTarget Name of the variable in which to store the shortcut's target (not including any arguments it might have). For example: C:\WINDOWS\system32\notepad.exe
OutDir Name of the variable in which to store the shortcut's working directory. For example: C:\My Documents. If environment variables such as %WinDir% are present in the string, one way to resolve them is via StringReplace. For example: StringReplace, OutDir, OutDir, '%WinDir'%, %A_WinDir%
OutArgs Name of the variable in which to store the shortcut's parameters (blank if none).
OutDescription Name of the variable in which to store the shortcut's comments (blank if none).
OutIcon Name of the variable in which to store the filename of the shortcut's icon (blank if none).
OutIconNum Name of the variable in which to store the shortcut's icon number within the icon file (blank if none). This value is most often 1, which means the first icon.
OutRunState Name of the variable in which to store the shortcut's initial launch state, which is one of the following digits:
1: Normal
3: Maximized
7: Minimized
ErrorLevel
If there was a problem -- such as LinkFile not existing -- all the output variables are made blank and ErrorLevel is set to 1. Otherwise, ErrorLevel is set to 0.
Remarks
Any of the output variables may be omitted if the corresponding information is not needed.
Code: Select all
FileSelectFile, file, 32,, Pick a shortcut to analyze., Shortcuts (*.lnk)
if file =
return
FileGetShortcut, %file%, OutTarget, OutDir, OutArgs, OutDesc, OutIcon, OutIconNum, OutRunState
MsgBox %OutTarget%'n%OutDir%'n%OutArgs%'n%OutDesc%'n%OutIcon%'n%OutIconNum%'n%OutRunState%This could in theory generate a list and location of said plugins.
Alls that would be left would be:
- Choosing a particular plugin.
- Putting that file to mouse location.
- Facilitate the host to be able to open via a drag and drop (or other method if not supported).
- KVRAF
- Topic Starter
- 37507 posts since 14 Sep, 2002 from In teh net
Finally another one - BlueCat Patchwork.
- KVRian
- 1156 posts since 10 Apr, 2006
Cubase Pro 8 and DP 9.01 (x64, PC) cannot.
Feed the children! Preferably to starving wild animals.
--
Pooter | Software | Akai MPK-61 | Line 6 Helix | Dynaudio BM5A mk II
--
Pooter | Software | Akai MPK-61 | Line 6 Helix | Dynaudio BM5A mk II
