Teething troubles

Yates, Glen JAMES.G.YATES at saic.com
Thu Feb 14 17:37:01 EST 2002


Try this for getting the current stacks path:

  get the effective fileName of this stack
  set the itemDelimiter to "/"
  put empty into the last item of it

now you could do something useful like:

  set the directory to it

also don't forget to:

  set the itemDelimiter to comma

As for your other questions, maybe some others will answer them.
-Glen

-----Original Message-----
From: Marcus Bointon [mailto:marcus at synchromedia.co.uk]
Sent: Thursday, February 14, 2002 3:28 PM
To: Revolution
Subject: Teething troubles


DefaultFolder seems not terribly clever. By default it points to the
revolution app. It would be more useful if it pointed to the current stack.
Director has separate names for these places (applicationPath and
moviePath). It would also be very convenient if it appeared with a trailing
separator - but make it consistent across platforms, unlike Director! I
can't find a way of getting the current stack's path.



More information about the use-livecode mailing list