winactivate.vbs
author Shingo W. Kagami
Sun, 19 Sep 2010 05:55:48 +0900
changeset 5 105778ace30a
permissions -rw-r--r--
Have ppt_printout_ps.vbs take the printer name as an argument.
Misc. changes in Makefile.sample.
Shingo@3
     1
If WScript.Arguments.Count <> 1 then
Shingo@3
     2
   WScript.quit
Shingo@3
     3
End If
Shingo@3
     4
Shingo@3
     5
Dim objWsh
Shingo@3
     6
Set objWsh = WScript.CreateObject("WScript.Shell")
Shingo@3
     7
objWsh.AppActivate(WScript.Arguments.item(0))