AutoPlay: AUTORUN.INF Advanced AutoPlay SettingsAn easy-to-use AutoPlay function from James Greene for your CDs and DVDs |
Previous |
Contents |
The following settings in AUTORUN.INF are only available when AutoPlay has been registered. For more information, please see Registering AutoPlay.
[AutoPlay Data]
CDTitle=Super-Duper CD
HideSplash=0
HideRegistration=0
Splash=AUTOPLAY\MyPicture.png
ImageWidth=300
ImageHeight=300
SplashMode=0
OffsetAngle=90
OffsetPercent=80
PauseLen=3
SplashLen=8
AlternateSplash=0
Music=AUTOPLAY\FanFare.wav
MusicLen=4
TimeOption=0
where
| [AutoPlay Data] | required |
Identifies the beginning of the AutoPlay-specific settings in the AUTORUN.INF file. |
| CDTitle=Title | optional |
This option specifies the 'caption' of the Splash screen and
of any other messages that may be Contentserated by AutoPlay. |
| HideSplash=[0 | 1] | optional |
If this option is set to a non-zero value, the splash screen
will not be displayed (but you can still use the Music= and other
AutoPlay functions). This has the same function as Splash=(none) in earlier AutoPlay releases. |
| HideRegistration=[0 | 1] | optional |
If this option is set to a non-zero value, the AutoPlay
registration information is hidden. The registration text is
either the AutoPlay version and copyright, or, in the case of a
commercial license, your company name. |
| Splash=image file | optional |
The image value specifies a JPEG (.JPG or .JPEG) picture,
Windows Bitmap (.BMP), Device-Independent Bitmap (.DIB), Portable
Network Graphics (.PNG), Windows MetaFile (.WMF), Windows
Enhanced MetaFile (.EMF), or Aldus Placeable MetaFile (.APM) to
be displayed in the "splash" pop-up window. New in version 2.2:
Audio-video interleaved (AVI) files are now supported (allowing
the splash image to be animated!) |
| ImageWidth=pixels | optional |
This value specifies the width of the Splash image. The
AutoPlay splash window will be adjusted to display the image with
this width. |
| ImageHeight=pixels | optional |
This value specifies the height of the Splash image. The
AutoPlay splash window will be adjusted to display the image with
this width. |
| SplashMode=0, 1 or 2 | optional |
If you are using an AVI animation for the Splash image, this
setting will tell AutoPlay how to play it. Possible settings are:
|
| OffsetAngle=angle in degrees | optional |
This value, together with the OffsetPercent setting, specifies where the
AutoPlay splash screen will be placed on the screen. This value
specifies the angle, relative to the center of the screen. |
| OffsetPercent=0 to 100 percent | optional |
This value specifies how far from the center of the screen the
AutoPlay splash screen should be displayed. |
| PauseLen=seconds | optional |
Specifies how long (in seonds) the "splash" screen will be
displayed before AutoPlay starts to launch the specified
document and/or viewer. If not specified, AutoPlay does not pause
before launching the document. |
| SplashLen=seconds | optional |
Specifies how long (in seconds) the "splash" screen will be
displayed on the screen. |
| AlternateSplash=[0 | 1] | optional |
When this value is set to 1, AutoPlay uses an alternate Splash
dialog box form, that contains only the splash picture. The
Copyright text and Window title are not visible, and the splash
picture is about 20% larger than the 'normal' dialog box. |
| Music=Music file | optional |
This option specifies a (AVI, MIDI, RMI or WAV) file to be
played when the CD is inserted. |
| MusicLen=seconds | optional |
This option specifies the length (in seconds) of the specified
music file. If this option is not specified, the MIDI player will
be stopped when the "splash" screen is closed (after
SplashLen seconds). |
| TimeOption=[0 | 1] | optional |
When this value is set to 1, AutoPlay changes how it interpretes AUTORUN.INF: If a section exists in the file with the name [xxxx- yyyy], where xxxx is a "start" time and yyyy is the "end" time (both in 24-hour format), and the current system time is within this time span, then the settings will be taken from the [xxxx-yyyy] section instead of the [AutoPlay Data] section. The following settings MUST be defined in the [AutoPlay Data] section: [AutoPlay Data] All other settings defined in the [AutoPlay Data] section will be used when there is no [xxxx-yyyy] setting defined for the current system time. However, if you want AutoPlay to react differently between, say, 8:00am and 11:00am, then define an addition section in AUTORUN.INF as follows: [0800-1100] Default: TimeOption=0 |
Copyright © 1999-2007 by James Greene. All rights reserved. Information subject to change without notice.