Sign in to follow this  
Followers 0
cLtmstr

Fullscreen Splash

7 posts in this topic

Hello,

I am trying to make a fullscreen splash, is this possible?

What I want is to load an image in fullscreen.

And also, When I compile the script, is the image implemented in the exe file or what?

Share this post


Link to post
Share on other sites



Hi and wellcome!

I am trying to make a fullscreen splash

From help file:

$destination = @Systemdir & "\oobe\images\mslogo.jpg"

SplashImageOn("Splash Screen", $destination, @DesktopWidth, @DesktopHeight)
Sleep(3000)
SplashOff()

And also, When I compile the script, is the image implemented in the exe file or what?

See FileInstall() function in help file.

:)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hey and thanks for the answer.

The problem:

I can write in my resolution and it will be in fullscreen. But what if I use the script on a computer with another resolution? Is it not possible to make it auto adjust to the desktop resolution?

$destination = @Systemdir & "\oobe\images\mslogo.jpg"

SplashImageOn("Splash Screen", $destination, 1024, 768)
Sleep(3000)
SplashOff()
Edited by cLtmstr

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Look up Macros in the helpfile. There is a @DesktopWidth and @DesktopHeight macro. So, something like this:

SplashImageOn("Splash Screen", $destination, @DesktopWidth, @DesktopHeight, default, default, 1)
[code=auto:0]


            
                


    Edited  by covaks
    
    

            
        

        
            
                

    
        
            
        
    


            
        

        
            
                
                
                
            
            
                
            
        
        
    

    
        
            Share this post
            
Link to post
            
            
            

            
                Share on other sites
                

    
        
            

    

        
            

    

        
            

    

        
            

    

        
    

            
        
    


    

                    
                
                    
                    
                    






    
    
        
LIMITER   

    
        
    
             0
    
        
    

        
            
                Universalist
            
            

            
                

    
        
    

            
            Active Members
            
            
                

    
        
    
             0
    
        
    

                473 posts
                
                

            
        
    
    
        


    

    
        
            
            
                
            
            
        

        
    #5 · 
            Posted 
            
            
            
        
    

    


            
        
            I think this will do the job :

$destination = @Systemdir & "\oobe\images\mslogo.jpg"

SplashImageOn("Splash Screen", $destination, @DesktopWidth, @DesktopHeight, -1, -1,1)
Sleep(3000)
SplashOff()

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Thanks man, you are a genious!

EDIT:

And If I compile this, just with another picture than the mslogo thing, will it be in the executable or does it have to be copied?

And I am NOT trying to make a wannabe virus.... :) It is for the "intro" on my program.

Edited by cLtmstr

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  
Followers 0