A. Activate the Project window. B. Click the Scripts icon. C. Click New.
Copy the following code into the script window:
'-- When a hot link executes a script, the contents of the
'-- hotlink field are referenced by "Self"
linkfile = Self
exeString = "c:\Program Files\Windows Media Player\mplayer2.exe" ++ linkfile
You may need to modify the name and directory of the Media Player in the above code.
Click the Compile button.
Select Properties from the Theme menu.
Select the Hot Link icon on the right.
Set the Hotlink field to the field with the path to the Windows Media Player file.
Set the Predefined Action to 'Hotlink to User Script.'
Set Script to the script created in Step 2 and click OK.
Last Published: 10/17/2016
Article ID: 000004011
Software: ArcView GIS 3.2a, 3.2, 3.1, 3.0a More Products legacy.products