backupcopying in substackmodifyable standalone

Kay C Lan lan.kc.macmail at gmail.com
Sat Nov 18 09:57:56 EST 2006


On 11/18/06, Kresten Bjerg <Kresten.Bjerg at psy.ku.dk> wrote:
>
> J. Landman Gays suggestion sounds very fine, but how do you script the
> parsing of the file-path?



You could try:

put the effective filename of me into tMyFileName
put offset("/Contents",tMyName) into tMyLength
put char 1 to (tMyLength - 1) of tMyFileName into tMyBundleName

Checkout 'offset' in the docs.

HTH



More information about the use-livecode mailing list