MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

MapWindow:Desktop:DocumentLauncher

From MapWindow GIS

Jump to: navigation, search

Using Document Launcher to Add Hotlinks

Functionally, the Document Launcher plug-in will be activated when a shape in a shapefile is selected. If the shapefile has an attribute field entitled FileOrURL and the selected shape has text in that attribute column, then the plug-in will seek to launch that path as a file or a URL.

Most commonly, this is used to launch images or web pages associated with given shapes. For instance, if the field contained a link to a photo, then the photo would be displayed.

- Users will need to add a field to the layer attribute table named FileOrURL as a text field

- This field will need to have the full path information on the relevant document in the field

- The field can contain only the folder path, which will open the folder to view all files.

- Click on the [Plug-in] button on the main menu

- Select [Document Launcher].

- Click on the Image:image086.jpg [Select] icon in the main toolbar

- When an item is selected the program will try to find the file and open in the relevant program.

For example, a feature with the filepath http://www.mapwindow.org in the FileOrURL field will open the MapWindow Website when selected, or C:\My documents\my pictures\image.jpg will open this image

Buffer Shapefiles

Return to Menu

Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWindow:Desktop:DocumentLauncher"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: November 12 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links