"David C. Schooley" <schooley@ee.gatech.edu> writes: >You should also explicitly close any opened resource files, since they will >otherwise remain open after your script has quit. Another important point. >$RF = OpenResFile($target); [...] >$aeteHandle = GetResource("aete", 0); >if (!defined($aeteHandle) || $aeteHandle == 0 || HomeResFile($aeteHandle) >!= $RF) { > die ("Application is not scriptable"); >} This, however, is needlessly complicated. Get1Resource instead of GetResource will be sufficient. Matthias ----- Matthias Neeracher <neeri@iis.ee.ethz.ch> http://www.iis.ee.ethz.ch/~neeri "Java is fast becoming the platform of choice with its multiple variations, inherent speed, security, and application potential." -- "Higher Source" WWW site