Below is an example using notepad as "the proccess". It requires kixforms.net on each system running the script. Things like MessageBox cannot do this. Messagebox requires at least one button. Off course you could catch the action when the button is pressed and do nothing with that but it is not input free.

 Code:
Break On
$System = CreateObject("Kixforms.System")
If Not $System
   $nul= MessageBox("KiXforms.Net Not Initiated. This Script Will Now Close.","Error",16)
   Quit()
EndIf
$nul = $System.Application.EnableVisualStyles

$Form1 = $System.Form()
$Form1.ControlBox = 0  ;false
$Form1.StartPosition = 1
$Form1.Size = $System.Size(301,102) ;(Width,Height)
$Form1.Text = "Form1"

$Label1 = $System.Label()
$Label1.BorderStyle = 1  ;FixedSingle
$Label1.Left = 10
$Label1.Text = "Hello, please wait for the proccess to complete."
$Label1.Top = 20
$Label1.Width = 260
$nul = $Form1.Controls.Add($Label1)

$Form1.Show  ;Displays the Form
StartNotepad()

While $Form1.Visible
   $Nul = Execute($Form1.DoEvents())
Loop
Exit 0

Function StartNotepad()
	;use Run to start notepad and continue to the next command
	;Run "Notepad.exe"
		
	;Use Shell to start notepad, wait for notepad to close and continue to the next command
	Shell "Notepad.exe"
	Sleep 10
	Quit
EndFunction


Edited by Mart (2017-03-24 03:14 PM)
Edit Reason: small typo in the code
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.