Hi Denis,

Importand ist, that if you have spaces in the folder names, you have to use the 
double quote (") at the beginning and the end of the string.

Like the example from Nathan:  
  "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" 
"http://ficheinfoterre.brgm.fr/InfoterreFiche/ficheBss.action?id=%indice";

Asmus

> Von: Nathan Woodrow <madman...@gmail.com>

> Denis,
> 
> This is how I normally launch the default browser in windows using QGIS
> actions.
> 
> cmd /c start URL
> 
> if you want to launch Chrome, this might work
> 
> cmd /c start "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
> URL
> 
> reference for cmd start http://ss64.com/nt/start.html
> 
> - Nathan
> 
> On Tue, Mar 6, 2012 at 9:31 PM, <den...@free.fr> wrote:
> 
> > Hi,
> >
> > Well, at the moment I am using QGIS within windows system (both French
> > GUI). I tried to set up the following action :
> > - open chrome
> > - open the url
> > http://ficheinfoterre.brgm.fr/InfoterreFiche/ficheBss.action?id=%indice
> > Where indice is a field of the layer.
> >
> > So I tried diferent ways :
> > C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
> > http://ficheinfoterre.brgm.fr/InfoterreFiche/ficheBss.action?id=%indice
> > C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
> > C:/Program\ Files\ (x86)/Google/Chrome/Application/chrome.exe
> > chrome.exe
> >
> > ... and I always get the following popup window : Impossible to lunch
> > command
> >
> > Is there any trick for that ?
> > Thanks a lot.
> >
> > Denis
> >
> > ----- Mail original -----
> > De: "Paolo Cavallini" <cavall...@faunalia.it>
> > À: "qgis-user" <qgis-user@lists.osgeo.org>
> > Envoyé: Jeudi 1 Mars 2012 10:22:51
> > Objet: [Qgis-user] Actions HowTo
> >
> > Hi all.
> > We are writing a short howto for the new actions. We would like to add
> > some more
> > complex example that the usual "open the browser with this argument",
> > possibly using
> > coordinates and functions. Ideas and suggestions welcome.
> > All the best, and thanks.
> > --
> > Paolo Cavallini - Faunalia
> > www.faunalia.eu
> > Full contact details at www.faunalia.eu/pc
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to