I’m making a personal application where I select an image and it will be copied into the resource folder of the application for later use.
I have the choose file part set up and can load the image into the image view from there, but how would I go about making a copy into the resource folder of the application?
set theFile to choose file with prompt "Choose the image" of type openTypes
set the contents of text field "picpath" of window "with" to theFile
set theimage to theFile
set the image of image view "image" of window "with" to load image theimage
Model: eMac G4
Browser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4
Operating System: Mac OS X (10.3.9)