cLtmstr Posted March 23, 2008 Share Posted March 23, 2008 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? Link to comment Share on other sites More sharing options...
rasim Posted March 23, 2008 Share Posted March 23, 2008 Hi and wellcome! I am trying to make a fullscreen splashFrom 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 More sharing options...
cLtmstr Posted April 3, 2008 Author Share Posted April 3, 2008 (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 April 3, 2008 by cLtmstr Link to comment Share on other sites More sharing options...
covaks Posted April 3, 2008 Share Posted April 3, 2008 (edited) Look up Macros in the helpfile. There is a @DesktopWidth and @DesktopHeight macro. So, something like this: expandcollapse popup SplashImageOn("Splash Screen", $destination, @DesktopWidth, @DesktopHeight, default, default, 1) [code=auto:0] Edited April 3, 2008 by covaks Link to comment Share on other sites More sharing options... LIMITER Posted April 3, 2008 LIMITER Active Members 473 Share Posted April 3, 2008 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 More sharing options...
cLtmstr Posted April 5, 2008 Author Share Posted April 5, 2008 (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 April 5, 2008 by cLtmstr Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted April 5, 2008 Share Posted April 5, 2008 Use FileInstall() for packing other files in your compiled script .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now