Registered member login:
Register Now
Altirigos » Homepage2

» Current Poll
Do you leave the Aclient enabled?
YES - 82.31%
107 Votes
NO - 17.69%
23 Votes
Total Votes: 130
You may not vote on this poll.
» Stats
Members: 9,497
Threads: 11,753
Posts: 55,312
Top Poster: Nick (4,981)
Welcome our newest member, bobsha
» Online Users: 54
1 members and 53 guests
JimChud
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
View Single Post
Old 04-20-2009, 06:35 PM   #6 (permalink)
Brandon
 
Status: Super Altiris Admin
Join Date: 10-28-2005
Location: Colorado
Posts: 1,364


Here is an example with no cancel button. The 180 is the automatic timeout.

Code:
'vbscript
set WshShell = CreateObject("WScript.Shell") 
WshShell.Popup"The imaging process is complete." & vbcrlf & vbcrlf & _
 "Remaining Steps:" & vbcrlf & vbcrlf & _
 "- Install Office and any additional division specific applications", 180, "Finished", 64
If you actually want them to acknowledge it use this (note no timeout):
Code:
'vbscript blah blah
Dim intClicked
set WshShell = CreateObject("WScript.Shell") 
intClicked = WshShell.Popup("Office is going to instal.", ,"READ THIS. . .", 49)
If intClicked = 2 Then
WScript.Quit(2) 
End If
Then capture code 2 in the DS job as a Failure with a message like "user cancelled installation"

Research the vbscripts on google. I think you have ample information to start your search.
__________________
Brandon
Brandon is offline   Reply With Quote
 
Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 11:49 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vB.Sponsors
Altirigos