2010-05-17 23:08:30 +08:00
|
|
|
' An example script that will launch the app in the background
|
|
|
|
'
|
|
|
|
Dim command
|
2014-08-13 19:20:10 +08:00
|
|
|
command = "java -cp bbb-deskshare-applet-0.9.0.jar org.bigbluebutton.deskshare.client.DeskshareMain "
|
2010-05-17 23:08:30 +08:00
|
|
|
|
|
|
|
'Set a reference to the arguments
|
|
|
|
Set objArgs = Wscript.Arguments
|
|
|
|
|
|
|
|
'Count the arguments
|
|
|
|
'WScript.Echo objArgs.Count
|
|
|
|
|
|
|
|
' Concatenate all command-line parameters
|
|
|
|
For Each strArg in objArgs
|
|
|
|
command = command & Chr(32) & strArg
|
|
|
|
Next
|
|
|
|
|
|
|
|
'WScript.Echo command
|
|
|
|
|
|
|
|
Set WshShell = WScript.CreateObject("WScript.Shell")
|
|
|
|
Return = WshShell.Run(command , 0, true)
|
|
|
|
|
|
|
|
WScript.Echo Return
|
|
|
|
|
2012-04-25 06:22:20 +08:00
|
|
|
WScript.Quit(Return)
|