Welcome to %s forums

BrainModular Users Forum

Login Register

Delete patch before workspace closed

I need help on a Patch
Post Reply
sm_jamieson
Member
Posts: 551
Contact:

Delete patch before workspace closed

Unread post by sm_jamieson » 15 Jun 2025, 00:02

In my HH6 workspace kontakt is crashing on exit and causing Usine to hang and never close properly. If I delete the patch before exiting it is OK.

How can I automate the following on exit :-
1. Detect Usine is about to exit
2. Ask the user if they want to save
3. Optionally trigger Workspace Save As
2. Delete the patch containing kontakt
3. Disallow normal save on exit so I cannot save the workspace with kontakt removed
4. Exit Usine.

Thanks.

sm_jamieson
Member
Posts: 551
Contact:

Unread post by sm_jamieson » 15 Jun 2025, 10:35

Looks like this can be done with IML in a script. Unfortunately I am not an expert in this.

How do I delete a whole patch in IML ?

Or perhaps I can just delete Kontakt plugin.
Is there a way to display the IML behind the scenes when you do GUI actions ?

Gilsornette
Member
Posts: 280
Contact:

Unread post by Gilsornette » 16 Jun 2025, 12:32

Hello,

I am not an expert too.To delete a whole patch in IML you can use "CLEAR_PATCH" with module "Patch send internal Msg". You can add PROMPT_FOR_SAVE if you need to save changes before closing.

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests