<html><head></head><body>I had indeed set the directory:<br>
<br>
put the effective filename of this stack into fn<br>
set the itemdel to "/"<br>
delete item -1 of fn<br>
put "/" after fn<br>
set the directory to fn<br>
get the files<br>
<br>
after replacing the "effectiv filename" with "long id" the standalone now works fine.<br>
Thanks to all helping folks!<br>
<br>
But there is another problem to be aware of (MC 2.5 / Mac OS X).<br>
<br>
I have MChome and the other needed stacks in folder x<br>
a copy of mchome an the others in folder y<br>
<br>
starting MC in folder y and asking for the long id of the home stack I got the address of the home stack in the folder x<br>
trying to open a stack in folder y - the stack from folder x was opened.<br>
<br>
Is there a known problem with the domestification of home stacks in folders?<br>
<br>
Christoph<br>
<br>
<br>
RCS wrote:<br>
<blockquote type="cite" cite="mid:000101c33f31$79dd4ec0$6201dc0a@direcway.com"><pre wrap="">(defaultfolder)<br><br>I had to give up using this method (because of Linux actually). Your best<br>bet is to get the long id of your startup stack, and parse the location from<br>there...works without fail. 'DefaultFolder' in Linux reports the default<br>'user' folder, which has nothing to do with the engine folder.<br><br>JR<br><br></pre>
<blockquote type="cite"><blockquote type="cite"><pre wrap="">Please, couldn´t You give me a hint, how to get the files?<br></pre></blockquote><pre wrap="">The files returns a file list for the current defaultfolder. When a<br>standalone starts up, the defaultfolder is the same as the one<br>containing the standalone. I just made a test application and it seems<br>to work fine. Does your script change the defaultfolder (also called<br>"the directory") before getting the files?<br><br>-- <br>Jacqueline Landman Gay | <a class="moz-txt-link-abbreviated" href="mailto:jacque@hyperactivesw.com">jacque@hyperactivesw.com</a><br>HyperActive Software | <a class="moz-txt-link-freetext" href="http://www.hyperactivesw.com">http://www.hyperactivesw.com</a><br><br><br><br>--__--__--<br><br>_______________________________________________<br>metacard mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:metacard@lists.runrev.com">metacard@lists.runrev.com</a><br><a class="moz-txt-link-freetext" href="http://lists.runrev.com/mailman/listinfo/metacard">http://lists.runrev.com/mailman/listinfo/metacard</a><br><br><br>End of metacard Digest<br><br><br></pre></blockquote>
<pre wrap=""><!----><br>_______________________________________________<br>metacard mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:metacard@lists.runrev.com">metacard@lists.runrev.com</a><br><a class="moz-txt-link-freetext" href="http://lists.runrev.com/mailman/listinfo/metacard">http://lists.runrev.com/mailman/listinfo/metacard</a><br><br><br></pre>
</blockquote>
<br>
</body></html>