Welcome to %s forums

BrainModular Users Forum

Login Register

internal messages to usine

I need help on a Patch
Post Reply
Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 02 Apr 2017, 06:46

I'm trying to implement SEND INTERNAL MESSAGE module. What I want is pretty simple: Save Patch and save Workspace. Honestly I have no idea on how to do it with this module. Everything I've tried has been unsuccessful. Could anyone please explain how to use this module?. i have read the help files but I don't get it.

Thanks all in advance.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 03 Apr 2017, 09:45

here is an exemple: copying and pasting this message to the module message area and pressing the send message buton will save cuurent patch to the location specified:

SET_TARGET_PATCH SENDER_PATCH
SAVE_PATCH 'c:tempmypatch.pat'


same goes for wksp:

SET_TARGET_PATCH SENDER_PATCH
SAVE_WORKSPACE 'c:tempmyworkspace.wks'

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 03 Apr 2017, 21:16

Thank You so much... I will try it later on...

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 04 Apr 2017, 02:57

It does work for PATCH saving but not for WORKSPACE. What could be wrong?

Also tried with both .WKS and .WKP file extensions... no luck


23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 06 Apr 2017, 16:08

mm made typo indeed sorry its wkp and not wks sorry,
but that does work for me here, i can save it, the usine logo popup saving and if i go in folder i see the wksp i can reopen.


Image



check you have right permission access where you are trying to write the file, maybe launche usine as admin.

or click on trace then double click in the window to show console first and check what it displays when executing the message maybe to debug

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 06 Apr 2017, 21:55

Tanks for your reply. I tested it in Hollyhock and cerainly works but I'm using USINE STAGE and it does not work there. I'm thinking that US does not support this command (worksapace saving) I'm also thinking about the idea of using scripts, but again, I have no idea on how to implement them so it will be my first time using scripts. Any help will be very appreciated.

Thanks anyway

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 07 Apr 2017, 16:02

ah ok yes indeed tested in V5 and i don't think it was available command at that time sadly .. I could help a bit with scripting but it's not afaik a command
that can be trigged from script, or maybe one trick could be to use the shellcommand to save/recopy the current temp workspace to another file but i don't
remember exactly how/igf the current loaded workspace is modified by the time it has been opened.. will try to have a look but not sure that would fit the request..

Ariajazz
Member
Posts: 353
Contact:

Unread post by Ariajazz » 09 Apr 2017, 02:33

Ctrl+S keyrokes can be used but the thing is that keytrokes ia a Windows based function, not an internal USINE one. I've been trying to figure out a way to send such commad to USINE internally and not using any external tool such as BOME Midi Translator or MIDIOX with which it can be done.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests