Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to the action the choice of Python but getting the code from a file #13272

Closed
qgib opened this issue Nov 14, 2010 · 4 comments
Closed

Add to the action the choice of Python but getting the code from a file #13272

qgib opened this issue Nov 14, 2010 · 4 comments
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Nov 14, 2010

Author Name: aperi2007 - (aperi2007 -)
Original Redmine Issue: 3212

Redmine category:gui


In the action setting,
actually the python is usable only inserting directly the python code.

But this deny the possible to use a very complex python code to do some very powerful action. Like create a specific form window, import some modules and to do more elaborations.

So would be good to add the choice to link an action to a
file with python code and passing it the parameters needed to do the action.

@qgib
Copy link
Contributor Author

qgib commented Oct 28, 2011

Author Name: Cyrus Hiatt (Cyrus Hiatt)


If I understand correctly, I think this can already be done. I use the following action in QGIS 1.7.0 to call a python script which writes field values out to a text file:
"C://Python26//python.exe" "E://Temp//my_action.py " %field_name

@qgib
Copy link
Contributor Author

qgib commented Oct 29, 2011

Author Name: Giovanni Manghi (@gioman)


Please leave feedback after checking if it works already as commented by Cyrus Hiatt


  • pull_request_patch_supplied was configured as 0
  • assigned_to_id removed nobody
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2011

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from Version 1.7.0 to Version 1.7.4

@qgib
Copy link
Contributor Author

qgib commented Jan 28, 2012

Author Name: Giovanni Manghi (@gioman)


Closing for lack of feedback. Reopen if necessary.


  • status_id was changed from Feedback to Closed
  • resolution was changed from to worksforme

@qgib qgib added Feature Request GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib added this to the Version 1.7.4 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant