I'm trying to copy the current stack running to another location:
I've tried the following:
revCopyFile the sourceFile of this stack, "c:/test"
and
revCopyFile the sourceFile of this card, "c:/test"
but it doesn't work.
I tried it from withing Livecode and from a standalone.
Please help...
Thanks,
Carel
Copy self to other locations
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Copy self to other locations
Hi Carel,
do this:
...
put the filename of this stack into tSourceFile
revcopyfile tSourceFile, "c:/test"
...
Use "effective filename" if it is a substack!
Best
Klaus
do this:
...
put the filename of this stack into tSourceFile
revcopyfile tSourceFile, "c:/test"
...
Use "effective filename" if it is a substack!
Best
Klaus
Re: Copy self to other locations
Never mind, I figured it out:
get the effective fileName of this stack
put it into FileToCopy
revCopyFile FileToCopy, "c:/test"
Watch out Bill Gates, I'm becoming an expert at programming

get the effective fileName of this stack
put it into FileToCopy
revCopyFile FileToCopy, "c:/test"
Watch out Bill Gates, I'm becoming an expert at programming


Re: Copy self to other locations
Use my script and SAVE a complete line! 
