Page 1 of 1

Request: Command Line Enhancements

Posted: Fri Jan 23, 2015 8:10 pm
by tridy
Hello.

Here are several things I would like to be improved in Viscocity command line:

1. Besides connect and disconnect commands (http://www.sparklabs.com/support/viswin_command_line/) also have at least status command:
Code: Select all
"... \Viscosity.exe" status "My Connection"


it would be also nice to have these per connection:
Code: Select all
"... \Viscosity.exe" connectiontime "My Connection"
"... \Viscosity.exe" clientip "My Connection"
"... \Viscosity.exe" serverip "My Connection"
and one that will return all existing connection names
Code: Select all
"... \Viscosity.exe" connections
This way it would be much easier to manipulate the connections remotely.

2. The explanations of the command line parameters should be shown when ? or Help is used.

3. IMHO, all commands, including connect and disconnect should be send with '/' or '-' prefix, for example:
Code: Select all
"... \Viscosity.exe" /connect "My Connection"
or
Code: Select all
"... \Viscosity.exe" -connect "My Connection"
regards

Re: Request: Command Line Enhancements

Posted: Tue Jan 27, 2015 10:46 am
by Eric
Hi tridy,

Please have a look at the following for some more advanced commands - http://www.sparklabs.com/support/viswin_script_control/

We can certainly take your other suggestions on board.

Regards,
Eric

Re: Request: Command Line Enhancements

Posted: Thu Jan 29, 2015 9:14 am
by tridy
Eric wrote:
Please have a look at the following for some more advanced commands - http://www.sparklabs.com/support/viswin_script_control/
That's really good! Managed to get a PowerShell script running every 5 minutes and checking if it's not in Connected state and then connecting.

Thanks a lot!