Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set objFSO=CreateObject("Scripting.FileSystemObject")
- ' create batch file
- outFile="go.bat"
- Set objFile = objFSO.CreateTextFile(outFile,True)
- 'zenity for window https://github.com/maravento/winzenity
- objFile.Write "zenity --info --text=""Hello World""" & vbCrLf
- objFile.WriteLine "zenity --info --text=""Hello Planet""" & vbCrLf
- objFile.WriteLine "zenity --info --text=""Hello Earth""" & vbCrLf
- objFile.close
- 'run file
- CreateObject("Wscript.Shell").Run "go.bat", 0, True
- 'delete batch file
- objFSO.DeleteFile("go.bat")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement