'**************************************************************************************************************
'* Time Out Message Sample *
'* ------------------------------------- *
'* Written by: Jeferson Propheta *
'* July / 2007 *
'**************************************************************************************************************
Dim objFSO
set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Wscript.Shell")
Wait 3, "Copying File - This will automatically close"
objFSO.CopyFile "c:\temp\filelist.txt", "c:\temp\filelist2.txt"
Wait 2, "Some Other Message . . ."
objShell.exec "c:\WINDOWS\system32\Calc.exe"
Sub Wait(Seconds, Message)
On Error Resume Next
Dim objFuncShell
If IsEmpty(objFuncShell) Then Set objFuncShell = CreateObject("wscript.shell")
objFuncShell.Popup Message, Seconds, "Title", 80000
End Sub
set objFSO = nothing
'**************************************************************************************************************
'* Time Out Message Sample
'* -------------------------------------
'* Written by: Jeferson Propheta
'* July / 2007
'**************************************************************************************************************
Dim objFSO
set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Wscript.Shell")
Wait 3, "Copying File - This will automatically close"
objFSO.CopyFile "c:\temp\filelist.txt", "c:\temp\filelist2.txt"
Wait 2, "Some Other Message . . ."
objShell.exec "c:\WINDOWS\system32\Calc.exe"
Sub Wait(Seconds, Message)
On Error Resume Next
Dim objFuncShell
If IsEmpty(objFuncShell) Then Set objFuncShell = CreateObject("wscript.shell")
objFuncShell.Popup Message, Seconds, "Title", 80000
End Sub
set objFSO = nothing
<message edited by jeferson.propheta on Thursday, August 30, 2007 5:09 AM>