On Sun, 01 Dec 2013, abbat81 wrote: > Hi Tobi, > Can you explain or give example please? > > I don't understand how to use > "Print #$hMPlayer, sCommand" > > I got: > "Unknown identifier #$hMPlayer" > > How should I declare the #$hMPlayer? > > Thaks
You want to communicate with the mplayer process, don't you? So --8<---------------- Private $hMPlayer As Process Public Sub _new() $hMPlayer = Shell "mplayer -slave <other_opts> <file>" For Input Output As "MPlayer" End Public Sub btnStopPlayback_Click() Print #$hMPlayer, "stop" End ' etc. --8<---------------- For a list of supported commands... google. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
