Jump to content

Fullscreen Splash


Recommended Posts

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.

:)

Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
Share on other sites

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
    
    

            
        

        

        
    

    

    




    Link to comment
    
        
    
    
    

    
    Share on other sites
    

    
        
            

    

        
            

    

        
            

    

        
            

    

        
    


    
    More sharing options...

    


    

                    
                    
                    
                

                    

                    
                    





    

    

    
        
            
                


    
        
    

                
                
                    
                        

                    
                
            
        
        
            
                


LIMITER
            
            
                Posted 
                
            
        
    
    
        


LIMITER
            
        
        
            
                
                    


    
        
    

                    
                    
                        

                    
                
            
            
                Active Members
                
            
            
                
                    
                        
                            
                                
                            
                                 473
                            
                                
                            
                        
                        
                    
                
            
            
                

            
        
    
    
        



    
        
            
                
                    
                    
                    
                    
                    
                
            
            
                
                    
                    
                        
                        
                            Share
                        
                        
                        
                        
                        
                            
                                
                            
                            
                            
                            
                            
                            
                        
                    
                
                
            
        

        
            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()
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...