Jump to content
Sign in to follow this  
mjg

splashtexton

Recommended Posts

mjg

Hi, I would like to have the splash screen for splashtexton to appear in a small box on in the bottom right of the screen. Several computers will be running this script and all have different resolution. So I'm unsure if doing it by pixel would be proper.

Here is what I have currently:

Do
    
If  WinActivate("TMS_WS", "") Then
        SplashTextOn ( "CTMS Logout", "You will be logged out of TMS in " & $time & " minutes; please log off now!!!!!")
        sleep (60000)
        SplashOff ( ) 
    Else
        MsgBox(0, "Thank You,", "Thank you for logging off of TMS!" )
        Exit
    EndIf
    
    $time = $time - 1
    
Until $time = 0

$time is specified earlier in the script.

-mjg

Share this post


Link to post
Share on other sites
Emperor

You could try using @DesktopHeight and @DesktopWidth to calculate how big the users desktop is and formulate some x and y values to position your splash window.

Share this post


Link to post
Share on other sites
November

Hi!

Try something like this :

SplashTextOn ( "CTMS Logout", "You will be logged out of TMS in " & $time & " minutes; please log off now!!!!!",200, 100, @DesktopWidth - 220, @DesktopHeight - 220)
sleep (60000)
SplashOff ( )

This is an example... you can make it bigger or smaller...

hope this helps!

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites
mjg

Works perfectly, thanks y'all.

-mjg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×