Sample URLs
Using EZ Presentation Functions

(note: all EZ Presentation URL's start with ezp:)

   

What the URL Does

URL Syntax

Run an application

Open a file

Run an application and close the EZPresentation Window

ezp:open('Sample.exe')

ezp:open('ReadMe.doc')

ezp:seq(open('Sample.exe'),exit())

Display a message

Display a message with custom OK button

Display a message with 2 buttons

ezp:msg('A test message.')

ezp:msg('A test message.','Cool')

ezp:msg('Please select:','Option A','Option B')

Ask questions and respond accordingly

ezp:if(msg('Please select:','Option A','Option B')=0,msg('You chose A'),msg('You chose B'))

Perform a series of tasks in order.

ezp:seq(msg('Click OK to start'),wait(1.5),open('sample.exe'))

Play a WAV or MP3 (or other audio) file

Play an AVI (or other video) file

ezp:playsound('Sample.wav') -- ezp:playsound('Sample.mp3')

ezp:playvideo('Sample.avi')

Set a variable

Get a variable

Set a registry value

Get a registry value

ezp:setvar(1,0) -- ezp:setvar(1,1)

ezp:if(getvar(1)=1,msg('Variable #1 equals 1'),msg('Variable #1 is not 1'))

ezp:setregint('HKEY_CURRENT_USER\Software\EZPresentation','Test',0) -- ezp:setregint('HKEY_CURRENT_USER\Software\EZPresentation','Test',1)

ezp:if(getregint('HKEY_CURRENT_USER\Software\EZPresentation','Test',0)=1,msg('Registry item equals 1'),msg('Registry item is not 1'))

Browse to a new location

Bring a small popup browser window up

View standard web page in default browser

ezp:browse('End.htm',0)

ezp:browse('ezp:seq(browse('end.htm'),winsize(200,150))',1)

ezp:open('http://www.ezpresentation.com')

Close the browser

ezp:exit()