To have the code please mailto Muthu Kumar Mani
# =================================================================
# Application/URL: RoleLaunch
# Type: Generic
# Script Version: 2.0.0.0
# Written: Date By Name of the Team/Person
# Last Updated: Date[yyyy/mm/dd] By Name of the Team/Person
#
# Purpose: This definition is included in RoleStartup. RoleStartup calls the appropriate RoleLaunch sub for whatever role
# is selected by the user.
#
# Note: It is not necessary to maintain all 5 subroutines. You must, however, have as many as roles are defined.
# Note : For Every Application File there has to be an XML file with samename.xml
# =================================================================
# –NOTE: code is currently limited to 5 roles
# –NOTE: code is currently limited to 16 applications per role
#=====================================
# Subroutine for invoking Each Application in Role1
#=====================================
Sub RoleLaunch1
# –Number of applications you want to launch (very important)
Set ?RoleApplicationCount “1″
# –Applications to launch
# Set ?RoleLaunchTitle Name of application (for log)
# Set ?RoleLaunchRun_x Name of executable to call
# Set ?RoleLaunchArguments_x Any arguments that need to be passed to the application
# Set ?RoleLaunchDelay_x delay in milliseconds to wait before launching
Set ?RoleLaunchTitle ”PPMWeb”
Set ?RoleLaunchRun_1 ”C:\Program Files\Internet Explorer\iexplore.exe”
Set ?RoleLaunchArguments_1 ”http://dev-ppmtrac“
Set ?RoleLaunchDelay_1 ”0″
Set ?RoleLaunchTitle ”PPMWeb”
Set ?RoleLaunchRun_2 ”C:\Program Files\Internet Explorer\iexplore.exe”
Set ?RoleLaunchArguments_2 ”http://dev-ppmtrac“
Set ?RoleLaunchDelay_2 ”0″
EndSub
#=====================================
# Subroutine for invoking Each Application in Role2
#=====================================
Sub RoleLaunch2
# –Number of applications you want to launch (very important)
Set ?RoleApplicationCount “2″
# –Applications to launch (see Sub RoleLaunch1 for convention)
Set ?RoleLaunchTitle ”Lotus Notes 6.5″
Set ?RoleLaunchRun_1 ”C:\Notes\notes.exe”
Set ?RoleLaunchArguments_1 ”"
Set ?RoleLaunchDelay_1 ”0″
Set ?RoleLaunchTitle ”Google Talk”
Set ?RoleLaunchRun_2 ”C:\Program Files\Google\Google Talk\googletalk.exe”
Set ?RoleLaunchArguments_2 ”"
Set ?RoleLaunchDelay_2 ”0″
EndSub
#=====================================
# Subroutine for invoking Each Application in Role3
#=====================================
Sub RoleLaunch3
# –Number of applications you want to launch (very important)
Set ?RoleApplicationCount “2″
# –Applications to launch (see Sub RoleLaunch1 for convention)
Set ?RoleLaunchTitle ”Lotus Notes 6.5″
Set ?RoleLaunchRun_1 ”C:\Notes\notes.exe”
Set ?RoleLaunchArguments_1 ”"
Set ?RoleLaunchDelay_1 ”0″
Set ?RoleLaunchTitle ”Google Talk”
Set ?RoleLaunchRun_2 ”C:\Program Files\Google\Google Talk\googletalk.exe”
Set ?RoleLaunchArguments_2 ”"
Set ?RoleLaunchDelay_2 ”0″
EndSub
#=====================================
# Subroutine for invoking Each Application in Role4
#=====================================
Sub RoleLaunch4
# –Number of applications you want to launch (very important)
Set ?RoleApplicationCount “2″
# –Applications to launch (see Sub RoleLaunch1 for convention)
Set ?RoleLaunchTitle ”Lotus Notes 6.5″
Set ?RoleLaunchRun_1 ”C:\Notes\notes.exe”
Set ?RoleLaunchArguments_1 ”"
Set ?RoleLaunchDelay_1 ”0″
Set ?RoleLaunchTitle ”Google Talk”
Set ?RoleLaunchRun_2 ”C:\Program Files\Google\Google Talk\googletalk.exe”
Set ?RoleLaunchArguments_2 ”"
Set ?RoleLaunchDelay_2 ”0″
EndSub
#=====================================
# Subroutine for invoking Each Application in Role5
#=====================================
Sub RoleLaunch5
# –Number of applications you want to launch (very important)
Set ?RoleApplicationCount “2″
# –Applications to launch (see Sub RoleLaunch1 for convention)
Set ?RoleLaunchTitle ”Lotus Notes 6.5″
Set ?RoleLaunchRun_1 ”C:\Notes\notes.exe”
Set ?RoleLaunchArguments_1 ”"
Set ?RoleLaunchDelay_1 ”0″
Set ?RoleLaunchTitle ”Google Talk”
Set ?RoleLaunchRun_2 ”C:\Program Files\Google\Google Talk\googletalk.exe”
Set ?RoleLaunchArguments_2 ”"
Set ?RoleLaunchDelay_2 ”0″
EndSub
To have the code please mailto Muthu Kumar Mani