jbv wrote/ schreef:
>> put url ("binfile:" & sourcefile) into url ("binfile:" & destfile)
> Thanks a lot, it works perfectly.
> The only drawback is that the new file is created as a text file
> by default.
> In case of jpg or eps or whatever, I'll have to find a way to
> set the file type as well. I guess under Windoze, adding .jpg
> or .eps to the file name is enough (I haven't made any test on
> PC yet).
> As for Mac, I think there was a discussion about setting file
> type & creator lately on this list... That should be in the archives,
> right ?
Well, with the (commercial) Externals Collection or with my (free)
MacFileAttribs, which can be found at:
http://homepage.mac.com/sjoerdoptland/macfileattribs.mc
You can run a script with runScript(), and by running:
activate
copy file "Original" to folder "Sites"
Or something like that, you don't have to set creators, types and stuff like
that, it all just works.
> Thanks again.
>
> JB
Hope this helps,
Sjoerd
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.