Action Examples

Actions are a lot easier to understand once you've seen them in use. In order to help you get up to speed with these incredibly flexible and powerful little tools, we've assembled some "real world" examples of actions, from the simple to the relatively complex.

Basic

Clearing a list box

Counting the items in a delimited string

Creating a folder

Downloading a file

Exploring a folder

Getting an item from a delimited list

Getting system information

Getting the current URL in a Web Browser Object

Getting the screen resolution

Getting the version of Acrobat that is installed

Hiding an object

Installing a font

Loading and playing an MP3

Loading and playing an MPEG

Loading text into a Text Box Object

Minimizing the AutoPlay application

Navigating to a web page in a Web Browser Object

Opening a folder

Opening a web page in the user's default browser

Opening Internet Explorer in kiosk mode

Parsing paths

Picking a random number between 1 and 10

Playing a WAV file

Rounding a number to two decimal places

Setting a Registry value

Showing a hidden object

Unzipping files from an archive

Intermediate

Adding volume control

Browsing for and playing an MP3

Displaying a busy dialog while running a program

Displaying a list of open windows

Getting the index of the currently selected item

Inserting a line in a text file

Loading and playing a different AVI

Moving a window

Pausing an MP3

Playing a different Flash animation

Playing an AVI

Replacing text in a text file

Replacing text in an edit field

Running a PowerPoint presentation

Searching for MP3s and adding them to a list box

Toggling a variable between TRUE and FALSE

Verifying a password

Advanced

Expiring 30 days after building

Expiring 30 days after running the first time

Moving a window (advanced)

Running a PowerPoint presentation (advanced)

Searching the desktop for text files

Storing information in the Registry

Verifying a password (advanced)