2

I am trying to find similar functionality in QGIS to ArcGIS Hyperlink script editor.

In ArcGIS I can parse VBScript from a selected field in an attribute table. The script would execute on mouse click.

ArcGIS 10.1 Hyperlinks help

Can I achieve the same task in QGIS using VBScript?

6

I'm not aware about using VBScript in QGIS as Python tends to be more commonly used. But yes, there is a similar functionality. You can set up Actions in QGIS, by using Python or shell commands, to perform certain tasks for specific fields:

Actions

You can access these actions when using Identify Features which will provide you with the list of actions you set up. If you want to run an action with a simple mouse-click, the Hotlink plugin allows you to do just that.

Here is some additional information about actions.

EDIT:

After clicking Insert expression, you can specify fields/values of that particular layer by accessing the list:

Fields/values

3
  • Thanks Joseph, I have had a look at the Actions functions. Where can I specify the desired fields [Value] in the expression. Also I am not certain of how to configure an execute script function.
    – roesa9
    Oct 16 '14 at 3:16
  • No problem @roesa9! If you're wanting advice on how to create a script function then it may be best to ask a new question and describe what you want your action to do. Hopefully others will offer expert advice.
    – Joseph
    Oct 16 '14 at 9:47
  • Ooops, forgot to mention that I edited my post on how to specify fields/values in the expression :)
    – Joseph
    Oct 16 '14 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.