home *** CD-ROM | disk | FTP | other *** search
- on xtracopyartwork
- global artworkPath, name_sprite
- if the platform contains "Mac" then
- maccopyartwork()
- else
- openXLib("Xtras\filecopy")
- if (the platform contains "Windows, 16") and (name_sprite > 11) then
- set name_sprite to chars(name_sprite, 1, 8) & ".tif"
- end if
- set fileName to the pathName & artworkPath & name_sprite
- put fileName
- if fileName > EMPTY then
- set wFileName to doSaveAsDlg(the pathName & artworkPath & name_sprite, "Tiffs@*.tif")
- if wFileName > EMPTY then
- set result to CopyFile(wFileName, fileName)
- put result
- end if
- end if
- closeXLib("Xtras\filecopy")
- end if
- end
-