Using Setconsole("maximized"), the window is maximized over the correct portions of the window and "alwaysontop" doesn't seem to do the trick. Here is a copy of the code I am using:
Code:
; Domain Logon Script
; Written by: James Ford
; Created: November 1, 2003
; Description: Displays a login screen to users
; Deletes old mappings and creates new ones depending on group membership
; Revisions
; 11/10/2003
; Enabled the script to run in maximized mode displaying content to users
BREAK ON ; Disables users ability to interrupt the kixtart script
If SetConsole ("maximize") = 0
? "Console Maximized......"
Endif
cls
CLS ; Clears the screen
Color b/b ; Sets the Background Color of Splash Screen
Box (0,0,24,79,GRID) ; Size & Position of Splash Screen
Color n+/n ; Border of Inner Box
Box (7,20,17,60,FULL) ; Size & Position of Inner Box
$Title = "Public Safety Network Login" ; Variable Definition
Color n+/n ; Sets Color of Title Border
Box ( 2, 2, 4, Len ($Title + 8) + 4, FULL ) ; Size & Position of Title Border
Color c+/n ; Sets Color of Title Text
At ( 3, 4 ) $Title ; Display the institutions name
Color w+/n ; Sets the Color of the Text
AT ( 9,25) "Userid : " ; Displays Text inside Inner Box
AT (10,25) "Full name : " ; Displays Text inside Inner Box
AT (11,25) "Privilege : " ; Displays Text inside Inner Box
AT (12,25) "Workstation : " ; Displays Text inside Inner Box
AT (13,25) "Domain : " ; Displays Text inside Inner Box
AT (14,25) "Logon Server : " ; Displays Text inside Inner Box
AT (15,25) "Windows Version : " ; Displays Text inside Inner Box
Color c+/n ; Sets the Color of the Text
AT ( 9,40) @userid ; Displays User ID
AT (10,40) @fullname ; Displays Users Full Name
AT (11,40) @priv ; Displays users Domain Privelege
AT (12,40) @wksta ; Displays the name of the Workstation
AT (13,40) @domain ; Displays the Domain Name
AT (14,40) @lserver ; Displays the name of the Domain Controller
AT (15,43) @dos ; Displays the current Time
Sleep 5
:Domain_Admin
If InGroup ("Domain Admins")
CLS
AT (13,30) "Mapping Additional Drives"
Use p: "\\viking-fairfax\share"
EndIf
If InGroup ("Domain Users")
CLS
AT (13,30) "Mapping Additional Drives"
Use p: "\\viking-fairfax\share"
EndIf
If InGroup ("FTP Admins")
CLS
AT (13,30) "Mapping Additional Drives"
Use o: "\\psmagic1\FTP"
EndIf
:END
Exit