home *** CD-ROM | disk | FTP | other *** search
- on imagelogocopy
- if the platform contains "Mac" then
- maclogocopy()
- else
- openXLib("Xtras\filecopy")
- set fileName to the pathName & "..\logo\" & the name of cast the mouseCast
- if fileName > EMPTY then
- set wFileName to doSaveAsDlg(the pathName & "..\logo\" & the name of cast the mouseCast, "Tiffs@*.tif")
- if wFileName > EMPTY then
- set result to CopyFile(wFileName, fileName)
- put result
- end if
- end if
- closeXLib("Xtras\filecopy")
- end if
- end
-
- on maclogocopy
- openXLib("Xtras:macxtra:filecopy")
- set fileName to the pathName & ":logo:" & the name of cast the mouseCast
- if fileName > EMPTY then
- put fileName
- set loc to "desktop folder:"
- set wFileName to doSaveAsDlg(loc & the name of cast the mouseCast, "Tiff files@*.tif")
- if wFileName > EMPTY then
- put wFileName
- set result to CopyFile(wFileName, fileName)
- put result
- end if
- end if
- closeXLib("Xtras:macxtra:filecopy")
- abort()
- end
-