This forum is read-only. Please post new topics in our Q&A forum.

Command line invocation with no GUI?

General Discussion about Bome's Send SX

Moderator: florian

Locked
bitSync
User
Posts: 12
Joined: Thu Feb 17, 2011 10:30 pm

Command line invocation with no GUI?

Post by bitSync » Thu Feb 17, 2011 10:41 pm

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?

admin
Site Admin
Posts: 25
Joined: Thu Apr 28, 2005 9:46 pm

Re: Command line invocation with no GUI?

Post by admin » Wed Apr 27, 2011 9:54 pm

sorry, currently this cannot be done with SendSX. We consider it for the next version.

Regards,
Florian

bitSync
User
Posts: 12
Joined: Thu Feb 17, 2011 10:30 pm

Re: Command line invocation with no GUI?

Post by bitSync » Fri Apr 29, 2011 2:17 am

Thanks for your reply.

bitSync
User
Posts: 12
Joined: Thu Feb 17, 2011 10:30 pm

Re: Command line invocation with no GUI

Post by bitSync » Sat Jan 03, 2015 3:50 pm

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.

User avatar
florian
Bome Software: Founder
Posts: 2435
Joined: Thu Apr 28, 2005 10:09 pm
Location: Munich, Germany
Contact:

Re: Command line invocation with no GUI?

Post by florian » Sun Jan 04, 2015 9:39 pm

Hi bitSync, that was a forum spammer (which I've deleted now).
Thanks,
Florian

bitSync
User
Posts: 12
Joined: Thu Feb 17, 2011 10:30 pm

Re: Command line invocation with no GUI?

Post by bitSync » Sun Jan 04, 2015 10:30 pm

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!

User avatar
florian
Bome Software: Founder
Posts: 2435
Joined: Thu Apr 28, 2005 10:09 pm
Location: Munich, Germany
Contact:

Re: Command line invocation with no GUI?

Post by florian » Sun Jan 04, 2015 11:08 pm

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

bitSync
User
Posts: 12
Joined: Thu Feb 17, 2011 10:30 pm

Re: Command line invocation with no GUI?

Post by bitSync » Mon Jan 05, 2015 12:16 am

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.

Locked