home *** CD-ROM | disk | FTP | other *** search
- on maccopyartwork
- global artworkPath, name_sprite
- openXLib(":Xtras:macxtra:filextra")
- set fileName to the pathName & artworkPath & name_sprite
- if fileName > EMPTY then
- put fileName
- set loc to "desktop folder:"
- set wFileName to FileSaveAsDialog(loc, name_sprite, "Save As")
- if wFileName > EMPTY then
- put wFileName
- set result to CopyFile(fileName, wFileName)
- put result
- end if
- end if
- closeXLib(":Xtras:macxtra:filextra")
- abort()
- end
-