- I'm looking for a way to copy a pdf file to a location in a variable
in a chipmunk program. Anyone know of a way to do this????
- --- In chipmunkbasicforum@y..., "jamesrosensteel"
> I'm looking for a way to copy a pdf file to a location in avariable
> in a chipmunk program. Anyone know of a way to do this????I assume you're on a Mac, I can't recall if I ever knew how to
copy a file, form one location to another, but on unix I would
sys("cp -pr thefile.pdf /anotherlocation/thefile.pdf")
A$ - "cp -pr thefile.pdf /anotherlocation/thefile.pdf"
Hope this helps, if not, tell me more - Rick
- Oohh That's tough, in FoxBase I just use the Copy File command, doesn't
look like Chipmunk has that option. Though you sould be able to do it
in Applescript... (yeah I know it's a pain, but it does have some nice
Ah! found out you can even create a script via CB and call it:
go to the Reference Manual...
and look for
call "applescript", script$
you can write the script in an array and set the paths more easily...
(if you haven't used Applescript - start by using Applescript's Editor's
record featureto record you copying a file then look at your recording
in the script editor to help figure out how to write your custom script. :-)
Hope that helps!
> Message: 1--
> Date: Mon, 04 Nov 2002 19:28:56 -0000
> From: "jamesrosensteel" <jamesrosensteel@...>
> Subject: File Copy
> I'm looking for a way to copy a pdf file to a location in a variable
> in a chipmunk program. Anyone know of a way to do this????
01000011 01001111 01001101 01001101 01001111 01000100 01001111 01010010 01000101
Larry Anderson - Sysop of Silicon Realms BBS (209) 754-1363
Set your 8-bit C= rigs to sail for http://www.portcommodore.com/
01000011 01001111 01001101 01010000 01010101 01010100 01000101 01010010 01010011