🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1894

Re: $setenv and $getenv problem

#1894
From: xbytor
Date: Wed, 21 Jan 2009 17:49
15 lines
1310 bytes
> So, is there a way (apart from saving it in a file) to let a var live despite of its app closure?
> 

There may be some weird Windows Registry stunt you could pull on XP to do this. 
If it exists, it would modify the user's env vars in a persistent fashion; it 
would survive a reboot, for instance.

On OS X, there may be a similar hook somewhere, but I doubt it. This kind of 
thing just doesn't fit the traditional Unix model of how env vars are handled, 
so it would likely require adding a setting to a plist file somewhere.

Saving it to a file is probably your best/safest bet.

-X
Technical Details
Message-ID: <899A824DF86756D977D1ED8B611A708E@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b79268.-1@webcrossing.la2eafNXanI> <59b79268.1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c0d8d7dabf70f9ff
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: xbytor@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: $setenv and $getenv problem
Message-ID: <899A824DF86756D977D1ED8B611A708E@in.webcrossing.la2eafNXanI>
Date: Wed, 21 Jan 2009 09:49:23 -0800
References: <59b79268.-1@webcrossing.la2eafNXanI> <59b79268.1@webcrossing.la2eafNXanI>
Lines: 20
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit