home *** CD-ROM | disk | FTP | other *** search
- on xtracopypress
- global name_presstxt, presstxtPath
- set name_presstxt to the name of member the member of sprite 2
- put name_presstxt
- if the platform contains "Mac" then
- maccopypress()
- else
- openXLib("Xtras\filecopy")
- set fileName to the pathName & presstxtPath & name_presstxt
- if fileName > EMPTY then
- set wFileName to doSaveAsDlg(the pathName & presstxtPath & name_presstxt, "Word@*.rtf")
- if wFileName > EMPTY then
- set result to CopyFile(wFileName, fileName)
- put result
- end if
- end if
- closeXLib("Xtras\filecopy")
- end if
- end
-