Emergency
Jonathan Kotthoff
jonkotthoff at clarionstl.com
Mon Apr 3 01:40:11 EDT 2006
Jan,
Thanks this helps...here is what is happening...I have to hard code
the absolute path for Mac and not for windows...Thus i do a platform
check and pass a different path for each platform to copy...That
fixed it...!
Thanks, as a side note though...I think the revCopyFile should take
care of this so as to be truly platform agnostic....
On Apr 2, 2006, at 11:45 PM, Jan Schenkel wrote:
> on mouseUp
> -- ask the user which file to copy
> answer file "Select the source file:"
> if it is empty then exit mouseUp
> -- show the full source path
> put it into field "Source"
> -- ask the user where to copy it to
> answer file "Save a copy as:"
> if it is empty then exit mouseUp
> -- show the full target path
> put it into field "Target"
> -- now copy the file
> revCopyFile field "Source", field "Target"
> end mouseUp
More information about the use-livecode
mailing list