Problems with revcopyfile

Jonathan Kotthoff jonkotthoff at clarionstl.com
Thu Mar 30 16:11:16 EST 2006


I should add that this script does work on windows...it is just on  
Mac OS X.4 it is failing...which I know means its an applescript  
issue...but I do not know how to solve...
On Mar 30, 2006, at 2:36 PM, Jonathan Kotthoff wrote:

> This does not seem like it should be this hard...I must be missing  
> something...i am running 2.7 making a simple stack that will copy a  
> file to a target on Winows XP and Mac OS X.4...
>
> here is the code:
>
> on mouseUp
>   -- bring up a standard system "save as" file selector
>
>   ask file "Save file as:"
> -- if the user cancels, exit without saving
>   if it is empty then exit mouseUp
>   -- put it into filePath
>   put it into filePath
> -- Copy file
>  revCopyFile "/Content/rubyonrails.pdf",filePath
> end mouseUp
>
> no file is copied to the target folder however...
>
> anybody have an example of a stack that copies or an explanation
>
> Thanks in advance...
>
> Jonathan
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list