gvSIG feature requests #2775

Execute Jython script at startup

Added by Antonio Falciano almost 12 years ago. Updated over 11 years ago.

Status:Invalid% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:Scripting
Target version:-
gvSIG version:2.1.0 Add-on resolve version:
Keywords: Add-on resolve build:
Has patch: Proyecto:
Add-on name:Unknown Hito:
Add-on version:

Description

It would be nice if there would be the possibility to execute one or more Jython script at startup in order to customize the application (e.g. #1901#note-28), create a view, add data, open a portable view, etc.

History

#1 Updated by Antonio Falciano over 11 years ago

  • Status changed from New to Invalid

I've just discovered that such functionality is yet implemented in build 2245. The user needs to create a Jython script called autorun.py (plus the autorun.inf) in "gvSIG desktop 2.1.0\gvSIG\extensiones\org.gvsig.scripting.app.extension\lib\scripting\scripts" folder or in "gvSIG\plugins\org.gvsig.scripting.app.extension\scripts" one. I've copied the little script cited before (see #1901#note-28) in the autorun.py and it's executed correctly at startup! :)

Also available in: Atom PDF