Stupid question about file path
Björnke von Gierke
bvg at mac.com
Wed Jun 4 11:16:01 EDT 2003
You can use "put the effective filename" to get the current stacks
filepath.
For a subfolder you would do something like this:
set the itemdelimiter to slash
put item 1 to -2 of the effective filename of this stack into the
subPath
put the subPath & slash & "NameOfSubFolder" into subPath
also when you have a standalone the defaultFolder is automatically set
to the same path.
see also :
How to... find out the location of the current stack's file
About... filename specification and file paths
defaultFolder
filename of stack
On Mittwoch, Jun 4, 2003, at 17:50 Europe/Zurich, François Cuneo wrote:
> Hello!
> I have a dummy question about File path.
> I want to open automatically 2 stacks when I clic on a button, without
> answer dialog.
> So, I know how I have to do, when I have the full path.
> But the first Stack that I want to open is on the same folder as the
> stack
> with the button.
> So, how may I know the path of where I'm? What is the command
> (Location is
> not working, of course).
> The second stack is in a folder, inside the folder of the mainstack. I
> have
> the same problem.
> Could somebody help me?
> Thank you for your answer.
> Friendly
> François
>
>
> --------------
> François Cuneo
> Site Web dédié au Macintosh http://www.cuk.ch
> E-mail: francois.cuneo at cuk.ch
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list