Page 1 of 1

Command line invocation with no GUI?

Posted: Thu Feb 17, 2011 10:41 pm
by bitSync
I see that in the 2005 feature request post there was some interest in being able to invoke Send SX from the command line. I am looking for a little Windows program that when called from the command line, will quietly open a MIDI file and send it out a MIDI port as directed, without the need to display any interactive GUI. Has this feature found its way into the latest build of Send SX? I need to do a system call from a Perl script to push MIDI SysEx out, like e.g.,

Code: Select all

system("C:\sendsx.exe -nogui -f .\mysysexfile.mid ");
Can Bome Send SX currently do this?

Re: Command line invocation with no GUI?

Posted: Wed Apr 27, 2011 9:54 pm
by admin
sorry, currently this cannot be done with SendSX. We consider it for the next version.

Regards,
Florian

Re: Command line invocation with no GUI?

Posted: Fri Apr 29, 2011 2:17 am
by bitSync
Thanks for your reply.

Re: Command line invocation with no GUI

Posted: Sat Jan 03, 2015 3:50 pm
by bitSync
ThomasSind wrote:This forum is for questions / problems on:
a Command-line module
b Task Runner feature
c Get and Set variables via command-line
d Get and Set task parameters via command-line
@ThomasSind,

Are you responding to my post from 4 years ago (Command line invocation with no GUI)? If so, could you please explain further your post? Thanks.

Re: Command line invocation with no GUI?

Posted: Sun Jan 04, 2015 9:39 pm
by florian
Hi bitSync, that was a forum spammer (which I've deleted now).
Thanks,
Florian

Re: Command line invocation with no GUI?

Posted: Sun Jan 04, 2015 10:30 pm
by bitSync
florian wrote:Hi bitSync, that was a forum spammer (which I've deleted now).
Thanks,
Florian
Thank you, Florian.

Just wondering, did a GUI-less command line invocation ever make it into the Send SX code base? I think the license I purchased some time back did not have that feature. Thanks!

Re: Command line invocation with no GUI?

Posted: Sun Jan 04, 2015 11:08 pm
by florian
A rudimentary way to do this made it into version 1.4: There is a /send parameter which will send the loaded file. So you can do this:

Code: Select all

C:\Program Files\Send SX\sendsx.exe /send C:\mysysexfile.syx
However, that will open a new Send SX window for every file you want to send. To prevent that, open the settings in Send SX, and enable "only allow one instance" at the bottom. Close SendSX and from now on there will always be just one instance executing your calls.
Not perfect, but a start :)
Florian

Re: Command line invocation with no GUI?

Posted: Mon Jan 05, 2015 12:16 am
by bitSync
florian wrote:A rudimentary way to do this made it into version 1.4: There is a /send parameter which will send the loaded file. So you can do this:

Code: Select all

C:\Program Files\Send SX\sendsx.exe /send C:\mysysexfile.syx
However, that will open a new Send SX window for every file you want to send. To prevent that, open the settings in Send SX, and enable "only allow one instance" at the bottom. Close SendSX and from now on there will always be just one instance executing your calls.
Not perfect, but a start :)
Florian
Nice. Thanks. I'll have to check my license version.