Hi Richard. thanks for your interest. I have only the filename (not the full path) as the attribute value. In the action definition, I used %% and not %view1. using this approach in 1.0.1KORE i was able to simply right click on any of the attribute values and run the action and that attribute value would be sent to the destination application (in this case VLC media player).
In 1.0.1 the action had to have the full path to the application in one set of quotes, and then a space and then in a separate set of quotes, I would put the path to the file to be viewed but in place of the actual filename, I put %%. this is supposed to allow the value of the selected attribute to be sent to the application. thus, i had the action defined as: "c:\program files\vlc\vlc.exe" "c:\pics_n_vids\%%" So that when I right clicked on the value of a given attribute, that value would replace the %% and the video or picture would play. could you try that and see what happens? thanks! jd On Sun, Nov 22, 2009 at 4:44 PM, Richard Duivenvoorde <rdmaili...@duif.net>wrote: > Richard Duivenvoorde wrote: >> <attributeactions> >> <actionsetting action="C:/programs/IrfanView/i_view32.exe >> c:\temp\issues\actionAttribute\%%" capture="0" name="task4" /> >> <actionsetting action="C:/programs/IrfanView/i_view32.exe <actionsetting >> action=""C:/programs/IrfanView/i_view32.exe" >> "c:\temp\issues\actionAttribute\%view1"" capture="0" name="task6" >> /> >> </attributeactions> >> >> task4 was not working (but seemed to be an example from you email? So I >> tried that also ... ). >> > > mmm, wrong copy pasta ... > > > <attributeactions> > > <actionsetting action="C:/programs/IrfanView/i_view32.exe > c:\temp\issues\actionAttribute\%%" capture="0" name="task4" /> > > <actionsetting action="C:/programs/IrfanView/i_view32.exe > c:\temp\issues\actionAttribute\%view1" capture="0" name="task5" /> > > > <actionsetting action=""C:/programs/IrfanView/i_view32.exe" > "c:\temp\issues\actionAttribute\%view1"" capture="0" name="task6" > /> > > </attributeactions> >
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user