home *** CD-ROM | disk | FTP | other *** search
- global theme, soustheme1, soustheme2, line_select, n, dossier
-
- on copie_wmf
- member(the memberNum of sprite the currentSpriteNum).foreColor = 255
- set the text of field "converti" to n
- X = the number of chars in (member "converti").word[1]
- put " " before char X - 3 of word 1 of field "converti"
- delete word 2 of field "converti"
- conver = word 1 of field "converti"
- if soustheme2 = EMPTY then
- u = dosIsFileExist(the moviePath & "wmf" & "\" & theme & "\" & soustheme1 & "\" & n)
- if u <> 1 then
- n = conver & ".WMF"
- end if
- m = dosSelectFile("save", "C:\Photos\", n, ["*.*"], "O├╣ voulez-vous enregistrer?")
- dosCopyFile(the moviePath & "wmf" & "\" & theme & "\" & soustheme1 & "\" & n, m)
- else
- if soustheme1 = EMPTY then
- u = dosIsFileExist(the moviePath & "wmf" & "\" & theme & "\" & soustheme2 & "\" & n)
- if u <> 1 then
- n = conver & ".WMF"
- end if
- m = dosSelectFile("save", "C:\Photos\", n, ["*.*"], "O├╣ voulez-vous enregistrer?")
- dosCopyFile(the moviePath & "wmf" & "\" & theme & "\" & soustheme2 & "\" & n, m)
- else
- u = dosIsFileExist(the moviePath & "wmf" & "\" & theme & "\" & soustheme1 & "\" & soustheme2 & "\" & n)
- if u <> 1 then
- n = conver & ".WMF"
- end if
- m = dosSelectFile("save", "C:\Photos\", n, ["*.*"], "O├╣ voulez-vous enregistrer?")
- dosCopyFile(the moviePath & "wmf" & "\" & theme & "\" & soustheme1 & "\" & soustheme2 & "\" & n, m)
- end if
- end if
- end
-