Re: Copy/Move a file in X
Re: Copy/Move a file in X
- Subject: Re: Copy/Move a file in X
- From: Barry Wright <email@hidden>
- Date: Mon, 3 Dec 2001 09:17:38 +1300 (NZDT)
On Fri, 30 Nov 2001, Andrew Laurence wrote:
>
A painfully simple question... In Mac OS X, how do you copy/move a
>
file with AppleScript? The Finder's 'move' command yields a error
>
type -15267, and Jons Commands isn't ported yet.
If you want to copy use duplicate instead. Possible example where
anything dropped on the applescript application icon is copied to another
folder:
on open added_items
tell application "Finder"
duplicate added_items to ("where_ever_you_want_them_to_go") as string
end tell
end open
>
>
Any suggestions from the collective consciousness?
>
>
Thanks,
>
Andrew
>
>
--
>
Andrew Laurence email@hidden
>
Network & Academic Computing Svcs. http://www.nacs.uci.edu/~atlauren/
>
UC Irvine
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users