Klaus (or other), Why do you use "effective filename" instead of just "filename"??
-Chipp > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Klaus Major > Sent: Wednesday, September 11, 2002 8:05 AM > To: [EMAIL PROTECTED] > Subject: Re: Stack Directory? > > > Bonjour Domi, > > > I have stack with a "scores" field. > > I want to write the scores to a text file *in the same folder* > > Is it possible to get the directory property for a stack, i.e. the > > folder in which it resides? > > Mais oui, mon ami :-) > > C'est tres simple... > > ... > put the effective filename of this stack into fn > set the itemdel to "/" > delete item -1 of fn > put "/" after fn > ... > > et voila, fn now holds the actual folder. > > Do this at openstack and store it in a global var or > in a custom property. > > Then you can build your "high-score" string like: > ... > global the_stored_directory > put xxxx into url("file:" & the_stored_directory & "the_scores.abc") > ... > > or with a custom prop: > ... > put xxxx into url("file:" & the_stored_directory of this stack & > "the_scores.abc") > > > Anyway, I have a "answer folder" command, but I want to avoid it... > > -- > > Regards, > > Dominique > > Au revoir > > Klaus Major > [EMAIL PROTECTED] > > _______________________________________________ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard > _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
