Thanks again Mark

The tiny URL doesn't work for me ...
but meanwhile I found info about an Environment Variable
FME_SHARED_RESOURCE_DIR and a registry entry.

Still I have problems as I can't seem to use the Environment variable
in the same way as a FME Macro.

My current line is:
     TCL source {"$[FME_HOME]/transformers/my_script.tcl"}

How can I replace this with FME_SHARED_RESOURCE_DIR ?
I get an error message about an unknown macro definition.

Thanks in advance
Michael

--- In [email protected], "mark2atsafe" <[EMAIL PROTECTED]> wrote:
>
> ...and as soon as I sent that email I found what I was looking for.
> 
> See http://tinyurl.com/e5xaw on fmepedia. It tells you the environment
> variables to find the default transformers folder for either a user or
> the whole fme installation.
> 
> I think you should be able to use the environment variable in the path
> to your TCL. You might have to just select the file first, and then
> edit the path afterwards, inserting the variable.
> 
> Hope this helps,
> 
> Mark
> 
> Mark Ireland, Senior Product Specialist
> Safe Software Inc. Surrey, BC, CANADA
> [EMAIL PROTECTED] http://www.safe.com
> Solutions for Spatial Data Translation, Distribution and Access
> 
> --- In [email protected], "mark2atsafe" <mark.ireland@> wrote:
> >
> > Michael,
> > I'm 99% certain there is an environment variable that points to the
> > shared directory - but I'm really having problems finding it. I will
> > keep looking...
> > 
> > Mark I
> > 
> > --- In [email protected], "mhabarta" <mhabarta@> wrote:
> > >
> > > Hallo FME2006 experts
> > > 
> > > I try to utilize the "Shared Directory" feature in FME 2006GB.
> > > So far so good, nice feature.
> > > 
> > > Problem:
> > > I want to call a TCL script from a custom transformer, which 
> > > resides in the "transformers" Subdir where the shared transformer 
> > > is.
> > > 
> > > Is there any MACRO which refers to the "Shared Directory" setting, 
> > > so I can stay independent of the setting ?
> > > 
> > > Thanks Michael
> >
>









Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC 
Canada. For more information, visit www.safe.com/2006uc.   
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/
 


Reply via email to