One other thing to be aware of is the exciting new
"EnvironmentVariableFetcher" transformer that is part of FME 2005, which will
do this directly with no need to go to Tcl yourselves.
Et evidement, je ne comprends pas le français :-(
Dale
----------------------------------------------------------------------
Dale Lutz Safe Software Inc. [EMAIL PROTECTED]
VP Development Surrey, BC, CANADA phone: (604) 501-9985
http://www.safe.com fax: (604) 501-9965
----------------------------------------------------------------------
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
> mark2atsafe
> Sent: Tuesday, June 14, 2005 9:44 AM
> To: [email protected]
> Subject: [fme] Re: TLCaller and variable of environment
>
> You can access an environmental variable as a Macro in FME using
> 'squiggly' brackets - eg ${FME_MF_DIR} or ${ORACLE_HOME}
>
> I'm not sure if you can do that directly in a TCL script, but you
> could use an AttributeCreator to create an attribute from the Macro
> (put the macro in the right hand field in the transformer settings
> instead of a value) then use that in the TCL
>
> J'espère que ceci répond à votre question.
>
> Mark
>
> Mark Ireland, Product Support Engineer
> Safe Software Inc. Surrey, BC, CANADA
> [EMAIL PROTECTED] http://www.safe.com
> Solutions for Spatial Data Translation, Distribution and Access
>
> --- In [email protected], "pyjoubert" <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I would like to position a variable of environment under Windows and
> > read the value of this variable of environment in TCL by using TCLCaller
> >
> > How to make ?
> >
> > Thank you
>
>
>
>
> Get the maximum benefit from your FME, FME Objects, or SpatialDirect via
> our Professional Services team. Visit www.safe.com/services for details.
> Yahoo! Groups Links
>
>
>
>
Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our
Professional Services team. Visit www.safe.com/services for details.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/fme/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/