MozillaZine

Random splash screen

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 09:42, 21 September 2004
Dunderklumpen (Talk | contribs)

<-- Previous diff
Revision as of 10:58, 18 April 2005
Asqueella (Talk | contribs)
(clean up)
Next diff -->
Line 1: Line 1:
-== Start with a random splash screen ==+: ''This article applies to Mozilla Suite.''
-First create the number of splashscreens that you would like to use.+First create a number of files with [[New splash screen|splash screens]] that you would like to use. Then create a bat-file (on Windows):
- +
-Then create a bat-file:+
@echo off @echo off
Line 12: Line 10:
start mozilla.exe start mozilla.exe
 +Put the above batch file ("mozilla.bat") into the main Mozilla directory (the one containing "mozilla.exe"). Also in the main application directory, create a folder named "SplashScr", containing '''n''' bitmaps (Mozilla splash screens) named "1.bmp" to "n.bmp". Start Mozilla by running the batch file. You'll get a random splash screen every time.
-Put the above batch file (mozilla.bat) into the main Moz directory (the one containing mozilla.exe). Also in the main application directory, create a folder named SplashScr, containing n bitmaps (preferably Mozilla splash screens) named 1.bmp to n.bmp.+Thanks to mozby that provided us with this neat little trick.
-Start Mozilla by running the batch file. You'll get a random splash screen every time.+
-Thanks to mozby that provided us with this neat little trick.+== See also ==
 +It's possible to [[disable splash screen]] altogether.

Revision as of 10:58, 18 April 2005

This article applies to Mozilla Suite.

First create a number of files with splash screens that you would like to use. Then create a bat-file (on Windows):

@echo off
NumOfPics=0
for /r %%a in (SplashScr\*.bmp) DO SET /a NumOfPics= %NumOfPics + 1
SET /a ChosenPic="%random% %% %NumOfPics% + 1"
COPY SplashScr\%ChosenPic%.bmp Mozilla.bmp
start mozilla.exe

Put the above batch file ("mozilla.bat") into the main Mozilla directory (the one containing "mozilla.exe"). Also in the main application directory, create a folder named "SplashScr", containing n bitmaps (Mozilla splash screens) named "1.bmp" to "n.bmp". Start Mozilla by running the batch file. You'll get a random splash screen every time.

Thanks to mozby that provided us with this neat little trick.

See also

It's possible to disable splash screen altogether.