Skip to main content
Tweeted twitter.com/StackGIS/status/1040299216357281792

I would like to perform a rather simple task in QGIS

When I click on "execute action entity"
=>Copy to clipboard a preconfigured set of attributes of my layer.

Here's what I've done so far:

  • Open the Layer Properties dialog and head over to the Actions tab

  • Set up a new action using the following properties for the action

    Type: Windows
    Name: Copy Attribute
    Action : "copy to clipboard [%name%] - [%value1%] - [%value2%]"

but I'm not familiar with actions script semantic..
what

what would be the correct redaction of the action code above?

I would like to perform a rather simple task in QGIS

When I click on "execute action entity"
=>Copy to clipboard a preconfigured set of attributes of my layer.

Here's what I've done so far:

  • Open the Layer Properties dialog and head over to the Actions tab

  • Set up a new action using the following properties for the action

    Type: Windows
    Name: Copy Attribute
    Action : "copy to clipboard [%name%] - [%value1%] - [%value2%]"

but I'm not familiar with actions script semantic..
what would be the correct redaction of the action code above?

When I click on "execute action entity"
=>Copy to clipboard a preconfigured set of attributes of my layer.

Here's what I've done so far:

  • Open the Layer Properties dialog and head over to the Actions tab

  • Set up a new action using the following properties for the action

    Type: Windows
    Name: Copy Attribute
    Action : "copy to clipboard [%name%] - [%value1%] - [%value2%]"

but I'm not familiar with actions script semantic.

what would be the correct redaction of the action code above?

Source Link
Fabien
  • 468
  • 1
  • 4
  • 10

QGIS actions: copy to clipboard some attributes

I would like to perform a rather simple task in QGIS

When I click on "execute action entity"
=>Copy to clipboard a preconfigured set of attributes of my layer.

Here's what I've done so far:

  • Open the Layer Properties dialog and head over to the Actions tab

  • Set up a new action using the following properties for the action

    Type: Windows
    Name: Copy Attribute
    Action : "copy to clipboard [%name%] - [%value1%] - [%value2%]"

but I'm not familiar with actions script semantic..
what would be the correct redaction of the action code above?