Hi folks!
      I cant seem to send commands to VLC through it's remote control 
interface when started using SHELL.

Gambas 2.23

ShellString = "vlc --intf rc --video-title " & psPlayerTitle & " " & 
psFileName
mpProcessHandle = SHELL ShellString FOR READ WRITE AS "VLC"

   VLC starts up in remote control mode properly (the app reads the 
startup messages and prints them so that I can verify remote control 
interface, so I know it is ready to accept commands.  If it was in a 
'real' console one could type 'shutdown', for example (less the quotes 
of course) and VLC would kill itself. But when I put a button on the 
form and set a property to the value 'shutdown', then call a sub from 
the property assignment in order to send the message to the process like 
this;

PRINT #mpProcessHandle, Value

   Nothing happens, except that I might start to get lots of binary data 
streaming into the GAMBAS IDE console pane.

   Anyone got any ideas? I can attach the source package (it is small) 
if anyone would like to take a look.

Regards
Steve.


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to