Presentation is loading. Please wait.

Presentation is loading. Please wait.

CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 1  Overview What are hot links How hot links work Setting.

Similar presentations


Presentation on theme: "CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 1  Overview What are hot links How hot links work Setting."— Presentation transcript:

1 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 1  Overview What are hot links How hot links work Setting up a theme for hot links Preparing disk files for hot links Using hot links Customizing hot links

2 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 2  What are hot links Hot links associate features with other objects Other objects can be: Images Projects ArcView documents Files/applications Associated objects/applications are launched when features are clicked

3 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 3  How hot links work Feature attributes contain a string representing an object Image pathname Project pathname ArcView document name Application pathname/file pathname User-specified script is run when feature is clicked Attribute string is passed to script

4 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 4  Setting up a theme for hot links Theme properties must be altered hot link field predefined action script

5 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 5  Setting up a theme for hot links Hot link field must be altered to contain string to be passed to script

6 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 6  Preparing disk files for hot links Disk files must exist; pathnames must match theme table values

7 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 7  Using hot links hot link tool

8 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 8  Customizing hot links Customizing hot links requires altering Avenue scripts Open a new script document Load system script (e.g., Link.Document ) Edit script, compile Alter theme hot link property: Predefined action > Link to User Script

9 CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 9  Customizing hot links theVal = SELF ' see if the value of the field is not null if (not (theVal.IsNull)) then ' if the file listed in the field exists, then play the video if (File.Exists(theVal.AsFileName)) then ' use the path to the video player executable System.Execute("c:\win95\mplayer.exe /play /close"++theVal) else ' if the file doesn’t exist, tell the user MsgBox.Warning("File "+theVal+" not found.","Hot Link") end Example of a link to video script


Download ppt "CFR 250/590 Introduction to GIS, Autumn 1999 Hot Linking © Phil Hurvitz, 1999-2000intro.ppt 1  Overview What are hot links How hot links work Setting."

Similar presentations


Ads by Google