[GRASS-windows] Print message before hitting "Run" in the g.parser UI

Glynn Clements glynn at gclements.plus.com
Mon Sep 1 17:52:39 EDT 2008


Luigi Ponti wrote:

> I have a bash script that processes a text file consisting of longitude 
> and latitude columns plus other columns with point data -- the script 
> imports the data and maps it. The script includes a parser-friendly 
> section so that the g.parser UI shows up if called with no arguments.
> 
> I would like to print info on the file such us the name of columns with 
> data (e.g. via g.message) so that the user can choose which one to 
> import. However, nothing can apparently be printed to the "Output - 
> GIS.m" window before the "Run" button of the g.parser UI is pressed (too 
> late for choosing a column...).
> 
> Does anybody see a way around this?

There isn't any way around it. The only influence which a script has
over the UI is the options which it defines.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-windows mailing list