Auto-Play icon

Advanced Auto-Play Settings

An easy-to-use Auto-Play function from James Greene for your CDs and DVDs

backPrevious Contentsnext

Advanced Auto-Play Settings in AUTORUN.INF

The following settings in AUTORUN.INF are only available when Auto-Play has been registered. For more information, please see Registering Auto-Play.

    [AutoPlay Data]
    CDTitle=Super-Duper CD
    HideSplash=0
    HideRegistration=0
    Splash=Auto-Play\MyPicture.png
    SplashMode=0
    SplashLen=8
    ImageWidth=300
    ImageHeight=300
    AlternateSplash=0
    OffsetAngle=90
    OffsetPercent=80
    PauseLen=3
    Music=Auto-Play\FanFare.wav
    MusicLen=4
    TimeOption=0

where

[AutoPlay Data] required

Identifies the beginning of the Auto-Play-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 Auto-Play.

Default: CDTitle=CD-ROM Auto-Play

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 Auto-Play functions). This has the same function as Splash=(none) in earlier Auto-Play releases.

Default: HideSplash=0

HideRegistration=[0 | 1] optional

If this option is set to a non-zero value, the Auto-Play registration information is hidden. The registration text is either the Auto-Play version and copyright, or, in the case of a commercial license, your company name.

Default: HideRegistration=0

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

Default: Splash=default Auto-Play image

SplashMode=0, 1 or 2 optional If you are using an AVI animation for the Splash image, this setting will tell Auto-Play how to play it. Possible settings are:
0 (play once)
The animation will be played once while the specified document or viewer loads in the background.
1 (repeat)
The animation will be played in an endless loop, until the splash window closes (see the SplashLen setting, below), or
2 (wait to finish)
The animation will be played once, and Auto-Play will wait until it has completed playing before loading the specified document or viewer.
PauseLen=seconds optional

Specifies how long (in seonds) the "splash" screen will be displayed before Auto-Play starts to launch the specified document and/or viewer. If not specified, Auto-Play does not pause before launching the document.
Default: PauseLen=0

SplashLen=seconds optional

Specifies how long (in seconds) the "splash" screen will be displayed on the screen.

Default: SplashLen=5

ImageWidth=pixels optional

This value specifies the width of the Splash image. The Auto-Play splash window will be adjusted to display the image with this width.

Default: ImageWidth=300

ImageHeight=pixels optional

This value specifies the height of the Splash image. The Auto-Play splash window will be adjusted to display the image with this width.

Default: ImageHeight=300

AlternateSplash=[0 | 1] optional

When this value is set to 1, Auto-Play 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.

Default: AlternateSplash=0

OffsetAngle=angle in degrees optional

This value, together with the OffsetPercent setting, specifies where the Auto-Play splash screen will be placed on the screen. This value specifies the angle, relative to the center of the screen.

Default: OffsetAngle=0

OffsetPercent=0 to 100 percent optional

This value specifies how far from the center of the screen the Auto-Play splash screen should be displayed.

Default: OffsetPercent=0

Music=Music file optional

This option specifies a (AVI, MIDI, RMI or WAV) file to be played when the CD is inserted.

Default: Music='' (none)

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

Default: MusicLen=SplashLen

TimeOption=[0 | 1] depreciated

When this value is set to 1, Auto-Play 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 [Auto-Play Data] section.

The following settings MUST be defined in the [AutoPlay Data] section:

[AutoPlay Data]
Copyright=...
OEMName=... (optional)
Registration=...
TopMost=...
DirFix=...
Debug=...
TimeOption=1

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 Auto-Play to react differently between, say, 8:00am and 11:00am, then define an addition section in AUTORUN.INF as follows:

[0800-1100]
; This section defines how Auto-Play should act between 8:00am and 10:59am
Splash=...
SplashLen=...
PauseLen=...
ImageWidth=...
ImageHeight=...
Document=...
Viewer=...
ForceViewer=...
DefaultAction=...
CDTitle=...
Music=...
MusicLen=...
AlternateSplash=...

Default: TimeOption=0

See Also:

Copyright © 1999-2016 by James Greene. All rights reserved. Information subject to change without notice.