Jump to content

Recommended Posts

Posted

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?

  • 2 weeks later...
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
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
    
    

            
        

        

        
    

    
    

    

                    
                    
                        
                    
                    
                

                    

                    
                    






    

    

    
        
            
                


    
        
    

                
                
                    
                        

                    
                
            
        
        
            
                


LIMITER
            
            
                Posted 
                
            
        
    
    
        


LIMITER
            
        
        
            
                
                    


    
        
    

                    
                    
                        

                    
                
            
            
                Active Members
                
            
            
                
                    
                        
                            
                                
                            
                                 473
                            
                                
                            
                        
                        
                    
                
            
            
                

            
        
    
    
        



    
        
            
                
                    
                    
                    
                    
                    
                
            
            
                
                    
                    
                        
                        
                        
                        
                        
                        
                            
                                
                            
                            
                            
                            
                            
                            
                        
                    
                
                
            
        

        
           
           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()
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

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
×
×
  • Create New...