Dear all, I'm using QGIS 1.6 for windows and I'm using a simple General Action: cmd /c %MyField
I'm using it to open some pdf files. In MyField field I have the absolute path of my files. Is there a way to use a path relative to the QGIS project? It would be fantastic to use (in example) this kind of QGIS project structure: - /root of the project -- /raster spatial file -- /vector spatial file -- /file called from actions - ProjectFile.qgis I know that QGIS can use relative path for spatial files, but I do not know if it's possible to use relative path within actions. Is there a variable that maps the absolute path of the project file? If it does exist I could write my Action in this way: cmd /c $PathOfProjectFile %MyFieldWithRelativePath Thank you, a ----- Andrea Borruso ---------------------------------------------------- email: [email protected] website: http://blog.spaziogis.it my 2.0 life: http://aborruso.spaziogis.it feed: http://feeds2.feedburner.com/Tanto 38° 7' 48" N, 13° 21' 9" E ---------------------------------------------------- -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/QGIS-Actions-and-relative-path-tp6377487p6377487.html Sent from the qgis-user mailing list archive at Nabble.com. _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
