Notifications
Clear all

How To Unify VSTs with AutoHotKey Scripts

168 Posts
12 Users
61 Likes
14.5 K Views
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@craigr68

I haven't come around to test MPA yet.

Do you mean to create a file that you can drag into UNIFY to install a library? In that case, just zip the library folder and name it .guru instead of .zip.

EDIT by Shane: Sorry to butt in, but that's incorrect and will cause all kinds of trouble. Please see my post below: https://forums.pluginguru.com/postid/7909/. You must put your library folder inside a dummy Libraries folder and zip THAT.

I am trying to find a way to catch the user pressing the x and change the program. Pressing the Cancel button to end the program deletes all xml-files as it should, at least it does for me. 

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
JeremyH
(@zinct)
Member
Joined: 4 years ago
Posts: 514
 

@thsve Ah yes of course re the number thing. Thanks re the xml file cleanup. 

@craigr68  Yes I had a go at PAD at the weekend and was left with similar thoughts to you. I tried using the desktop recorder to record a Flow with Unify. This seemed to work OK but referred to the Unify window as JUCE:id number (I believe JUCE was used in the development of Unify). So when I later re-ran the Flow (having exited and restarted Unify) it no longer worked as the window ID was different. There is no doubt some way to resolve this but I didn't find the documentation much use for what I was trying to do. Even something simple like string functions seemed to be lacking compared to AHK, Python etc. I also found the editing of single steps at a time very tedious. 


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@zinct, @craigr68

The editor is now fixed so xml-files are deleted when quitting the app with "x in the corner", Alt+F4 and the Cancel/Quit button.

Download here: https://www.dropbox.com/s/boctnx685pbxwy4/Unify%20Patch%20Editor%202.zip?dl=0

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
JeremyH reacted
ReplyQuote
(@getdunne)
Illustrious Member Admin
Joined: 5 years ago
Posts: 4410
 
Posted by: @craigr68

Has anyone figured out how to create a guru file for a library?  I probably won't have a use for it, but was curious.

A .guru file is just a renamed .zip file, structured so that when it is unpacked in the main Unify data folder, all the zipped files will go into the right places. For a library, the MOST important thing is to create a dummy Libraries folder, put your patch-library folder inside, and then zip the dummy Libraries folder, NOT the patch-library folder.

Here are the steps (written for Mac; PC is very similar):

  1. Go to Unify’s main Libraries folder in the Mac Finder, and locate the sub-folder for YOUR patch library.
  2. Create a new sub-folder which is ALSO called Libraries, sibling to your patch library sub-folder.
  3. Drag your patch-library folder into this new Libraries sub-folder. (This is temporary.)
  4. Right-click the Libraries sub-folder and choose to compress it.
  5. Rename the compressed file as <your library name>.guru
  6. Move your original patch-library folder back out of the dummy Libraries sub-folder.
  7. Optionally, delete the now-empty Libraries sub-folder. (It’s harmless to leave it there, as long as it’s empty.)

There's a useful illustration in the Unify manual at https://pluginguru.net/unify/manual/doku.php?id=manual-guru-unpack#open_the_new_folder_and_unify_s_data_folder.


   
ReplyQuote
(@craigr68)
Member
Joined: 3 years ago
Posts: 210
Topic starter  

@zinct

I ran into that exact same thing with the Window Title changing.  Autohotkey has that SetTitleMatchCode to solve that problem.  There's probably a way in PAD to get the window title, and modify the string or something.  Since Unify apparently opens whatever VST and inserts the patch name in the Title bar, I created the first patch in the library and made sure that was loaded before running my "flow".  That worked ok, but I didn't like that restriction.   I was getting better with the Desktop Recorder after learning a few tricks.  It seems more geared toward office applications in general.  Couldn't believe there was no "save as" for the flow name so you could make another copy.  Why not?  


   
ReplyQuote
(@craigr68)
Member
Joined: 3 years ago
Posts: 210
Topic starter  

@getdunne

Thanks for the clarification.  I'll save that info in my documentation.


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@getdunne
Glad you did. We don’t want to cause problems, do we🤗.

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
JeremyH
(@zinct)
Member
Joined: 4 years ago
Posts: 514
 

@thsve Thanks for the updated Editor which is now working fine.

@Craigr68 I was also initially unable to re-edit the first flow that I made when I came back to it later on. It was ghosted out and the pencil tool not available. After a while though it became available for editing again. Maybe something to do with syncing with OneDrive but not something that you want to happen and another deal breaker for me.


   
ReplyQuote
Patrick Smith
(@patrick-smith)
Trusted Member
Joined: 4 years ago
Posts: 51
 

@thsve I am getting an error message from Dropbox.  Is the Editor file download active?


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@patrick-smith

No, I deactivated it earlier today. Initially it was sent by mail together with more instructions how to use it. I have to add the latest changes to the instructions before I publish it again. I think I can do it tomorrow (it is evening here in Sweden now😎). 

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@patrick-smith

I've fixed it. Download here: https://www.dropbox.com/sh/o1tk7b64tmap2po/AABYYMN0OCq5OcvwCQDRvPN4a?dl=0

It contains a folder with the program files and a pdf with a fairly brief description. Let me know if you need more instructions. 

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
Patrick Smith
(@patrick-smith)
Trusted Member
Joined: 4 years ago
Posts: 51
 

@thsve Many thanks.  All downloaded safely and I look forward to using the editor.  I would also really like to try converting some libraries using AHK but I am a bit confused about where to start.  I saw in an earlier post that you had converted the original O2 patches which I would really like to have a go at along with my many other O2 additional libraries. 


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@patrick-smith

I hope the patch editor comes in handy. Do not hesitate to ask if there is anything you are wondering about or need help with. I am happy to receive feedback and suggestions for changes / additions.

When it comes to AHK, it's hard to advise you because I do not know what level you are at in terms of coding. Earlier in the thread there are some tips that can help. I can also send my script that you can use as a starting point if you want?

 

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
Patrick Smith
(@patrick-smith)
Trusted Member
Joined: 4 years ago
Posts: 51
 

@thsve  That's really kind and much appreciated.  In terms of coding, I would say a complete beginner.  Yes, the script would be very helpful and I would hope to not burden you with too many questions.


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@patrick-smith

Here you will find an attempt to describe the procedure and a script you can start experimenting with. I hope the brief description will get you going, it is hard to describe it in an easy way.

The script only works with O2 user libraries. In order to automate unifying the factory libraries, unfortunately it is a lot more to it 😓 .  

https://www.dropbox.com/s/mfeavps7o9pw6bk/Unifying%20O2%20with%20AHK.zip?dl=0

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
Patrick Smith
(@patrick-smith)
Trusted Member
Joined: 4 years ago
Posts: 51
 

Yes, small steps first!


   
ReplyQuote
Patrick Smith
(@patrick-smith)
Trusted Member
Joined: 4 years ago
Posts: 51
 

@thsve  AHK installed and script in place.  However, the pdf you sent is blank.  Could you re-send? Thanks, Patrick


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@patrick-smith

Really strange 🤔 . Find a new file in the same link as above (only the pdf is new).

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
Patrick Smith
(@patrick-smith)
Trusted Member
Joined: 4 years ago
Posts: 51
 

@thsve Thanks, pdf is fine.  Will keep you posted on progress!

Patrick


   
ReplyQuote
Lowell
(@lowell)
Estimable Member
Joined: 4 years ago
Posts: 109
 
Posted by: @getdunne

It would be great if you guys can devise a semi-automated procedure for unifying Kontakt libraries. Please keep us posted!

I don't have time to try it for this purpose, but the new Microsoft Power Automate for Desktop is very powerful, and that's the tool I'd start with if working on automating the Unifying of any plugin.


   
ReplyQuote
JeremyH
(@zinct)
Member
Joined: 4 years ago
Posts: 514
 
Posted by: @lowell
Posted by: @getdunne

It would be great if you guys can devise a semi-automated procedure for unifying Kontakt libraries. Please keep us posted!

I don't have time to try it for this purpose, but the new Microsoft Power Automate for Desktop is very powerful, and that's the tool I'd start with if working on automating the Unifying of any plugin.

@lowell 

If you look at the top of this page/end of page 2 you can see where Craig and I tried Microsoft Power Automate for Desktop (MS PAD) but the results were no so good. Maybe if we had more time to spend on it then the results would be better but we already have a working solution with AHK. Also some other recent developments now help to speed up Unification (experimental Omnisphere auto metadata transfer in Unify 1.4, Shane's utilities which allow batch changes to be made to libraries).  

This post was modified 3 years ago by JeremyH

   
ReplyQuote
JeremyH
(@zinct)
Member
Joined: 4 years ago
Posts: 514
 

@getdunne

Would it be possible to move this thread to a more appropriate sub-forum (maybe "Making Unified Patch Libraries") and also to make it a sticky so that it is easy for people to find.

Thanks


   
ReplyQuote
(@craigr68)
Member
Joined: 3 years ago
Posts: 210
Topic starter  

Also, if possible, could the Title be changed to be something more descriptive?  I started this post about my alternative browser and we went into a few different directions that I didn't anticipate.  I'm glad we did though because it resulted in a lot of libraries getting Unified and it was fun. 

For anyone interested in Unifying libraries, the attached scripts are a good thing to download and look at.  They're text files that contain very basic Autohotkey commands.  They execute one at a time from top to bottom.  They mimic what you would do manually to Unify a patch by moving the mouse, copying and pasting, etc.  There are comments thru out identifying the steps taken.  Each one is custom for a particular vst and needs modification to work with other vsts.  That's why it's challenging to come up with a universal way to Unify vsts.  But the various scripts methodology is very similar.

See https://forums.pluginguru.com/questions-about-unify-v1-0/how-to-create-unified-libraries-patchlists-from-plugins-not-unified-yet/ for other discussions about this.


   
ReplyQuote
(@getdunne)
Illustrious Member Admin
Joined: 5 years ago
Posts: 4410
 
Posted by: @zinct

@getdunne

Would it be possible to move this thread to a more appropriate sub-forum (maybe "Making Unified Patch Libraries") and also to make it a sticky so that it is easy for people to find.

Thanks

Done. Note this may break existing link URLs.


   
ReplyQuote
(@getdunne)
Illustrious Member Admin
Joined: 5 years ago
Posts: 4410
 
Posted by: @craigr68

Also, if possible, could the Title be changed to be something more descriptive?

Please suggest a better title.


   
ReplyQuote
(@craigr68)
Member
Joined: 3 years ago
Posts: 210
Topic starter  

"How To Unify VSTs with Autohotkey Scripts"

I think it might be better if I delete my first original post too so that the discussion picks up from there.  Or if you want to.

This post was modified 3 years ago by craigr68

   
mj_prod and JeremyH reacted
ReplyQuote
JeremyH
(@zinct)
Member
Joined: 4 years ago
Posts: 514
 

Thanks @getdunne and @craigr68 👍 


   
ReplyQuote
(@craigr68)
Member
Joined: 3 years ago
Posts: 210
Topic starter  

And I edited the first post so no one would be confused about the real discussion in this thread.


   
mj_prod and JeremyH reacted
ReplyQuote
(@redrose68)
New Member
Joined: 3 years ago
Posts: 2
 

Hello. I have recently been using Unify and am trying to create presets for some of the VSTis I have. Reading the discussion, I saw that user "thsve" made a file metadata editor, but I see that no dropbox links are working yet. I was wondering if it was possible to have the link. Thanks a lot to all of you for the many useful information I am reading in the forum. PS: Sorry for my bad English. 🤗 


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@redrose68

You will find the latest version here: https://www.dropbox.com/s/rjc244we9u6nxfb/Unify%20Patch%20Editor%202.1.zip?dl=0

This is a Windows only solution.

The zip file contains a very brief description that should be enough to get you going.

God luck, Unifying!

/Thomas

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
(@redrose68)
New Member
Joined: 3 years ago
Posts: 2
 

@thsve

Thank you very much ! 🙂 🙂 🙂 


   
ReplyQuote
(@heyjosh)
Trusted Member
Joined: 3 years ago
Posts: 61
 

@thsve

This tool is really cool. Thanks for sharing it. I was wondering if there was something similar that could be run on a batch of patches that changed layer properties? For instance, set a new master fx template or add an aux layer with fx template "x" to all patches in a folder.

Cheers


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@heyjosh

Glad you liked it!

I think I some time back actually did something like that using find and replace using Notedpad++🤗. The unify patch files are xml-files with some header- and trailing bytes that has to be removed before manipulating the file and added after. I’m using a Python script for that. If you are interested, I can send it to you?

Another way I did manipulate patches like that, actually just adding a master effect from a preset, was to use a simple AutoHotKey script. Everything you can do manually you can do with this kind of scripting. Do you know AHK? I’m happy to share the script with you as an example if you want.

 

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
(@heyjosh)
Trusted Member
Joined: 3 years ago
Posts: 61
 

@thsve

I am not familiar with AHK, but I would be happy to check out the example you have. And I will have to try that Notepad++ trick as well!

Thanks!


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@heyjosh

I will make a short Youtube clip explaining the script. I wiil use this as an introduction to manipulating UNIFY with AHK. I just have to find the correct settings for OBS. At the moment the video quality isn’t good enough😢.

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

@heyjosh and @zinct

I've made a "short" video how to create a simple AHK script to manipulate UNIFY (adding a layer preset). It is really for beginners in scripting and AHK. Hopefully I will come around to maker more videos like this with more advanced tasks.

I would be really greatful for anu comments, feedback and suggestions about anything from quality to content.

You will find the video here: https://www.youtube.com/watch?v=KIUjlTCFQNM

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
mj_prod, Robert.P, Patrick Smith and 1 people reacted
ReplyQuote
JeremyH
(@zinct)
Member
Joined: 4 years ago
Posts: 514
 

@thsve

Well done Thomas! You have managed to make a great introduction to using AHK without it being so complicated that it would put someone off. 


   
ReplyQuote
(@heyjosh)
Trusted Member
Joined: 3 years ago
Posts: 61
 

@thsve

Awesome! Thank you for doing this! I will give it a go soon.


   
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

Episode 2 uploaded to Youtube: https://youtu.be/iOVAPWDraBM

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
JeremyH, mj_prod and heyjosh reacted
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

Episode 3a uploaded ( https://youtu.be/YExU6YgCcTs ).
In this episode I create a relative "simple" script to unify Omnisphere 2 libraries.
In episode 3b I will evolve this script with more advanced functionality. 

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
JeremyH, mj_prod and heyjosh reacted
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

Episode 3b where I further evolve the script from episode 3a uploaded ( https://youtu.be/4hBB6Xvb2JI )

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
JeremyH, mj_prod and heyjosh reacted
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

An extra episode, 3c,  in the series is uploaded now ( https://youtu.be/Sd1Gng5Lcec ).

This is a fairly short video in the series about AHK basics and unifying Omnisphere2. I had to include this due to an undocumented feature in UNIFY that improves the process considerably.

Next video will be about unifying REX-files(Recycle). It is a 3 step procedure that uses 2 AHK script and 1 Powershell script. Coming shortly.

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
JeremyH, mj_prod and heyjosh reacted
ReplyQuote
(@thsve)
MR
Joined: 4 years ago
Posts: 341
 

New video uploaded,  https://youtu.be/dhqkWOsVbqk .

This video describes a three step automated process to unify rex(rx2) files (Recycle).

The process uses

- Recycle

- AutoHotKey(AHK)

- Windows Powershell

and of course

- UNIFY

 

Win 10 and 11/Cubase Pro 12/Unify/Wavelab 8/Vienna Pro 7/Spectrasonics all/NI 13 Ultimate/Izotope MPS2/Serum/Cthulhu/Scaler 2.5/MusicLab guitar vsts/BIAB 2022/TouchOSC/Metagrid Pro etc


   
heyjosh, JeremyH and getdunne reacted
ReplyQuote
(@craigr68)
Member
Joined: 3 years ago
Posts: 210
Topic starter  

Hey Thomas, nice job on the videos.  Thanks for doing them.  I actually never realized that Window Spy was a script itself - a rather complicated one too.  I always opened it by left clicking on any Autohotkey tray icon. 


   
ReplyQuote
(@tony10000)
Member
Joined: 5 years ago
Posts: 198
 

I haven't felt like scripting, so I am using a free Windows macro recording tool called Mini Mouse Macro:

https://sourceforge.net/projects/minimousemacro/

I use it as an assisted rather than automated tool.  

When I run it, it gives me about 10-12 seconds to enter in the patch name and then saves the patch.

Easy peasy and saves a lot of keystrokes and mousing around.

Here is the macro I created:

1 | 1450 | 127 | 2434 | Left Click Down

2 | 1450 | 127 | 194 | Left Click Release

3 | 917 | 313 | 1425 | Left Click Down

4 | 917 | 313 | 280 | Left Click Release

5 | 917 | 313 | 12728 | Keypress tab

6 | 917 | 313 | 280 | Keypress tab

7 | 917 | 313 | 239 | Keypress tab

8 | 917 | 313 | 213 | Keypress tab

9 | 917 | 313 | 262 | Keypress tab

10 | 917 | 313 | 239 | Keypress tab

11 | 917 | 313 | 331 | Keypress tab

12 | 917 | 313 | 469 | Keypress tab

13 | 917 | 313 | 492 | Keypress tab

14 | 917 | 313 | 602 | Keypress enter

15 | 380 | 648 | 1000 | Keypress enter

This post was modified 3 years ago by tony10000

   
ReplyQuote
Page 3 / 4
Share: