home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FCE Gold Plus
/
GOLD.iso
/
pc
/
fscommand
/
Xtras
/
FileXtra4-Mac.sit
/
FileXtra4_test.dir
/
00006_Script_test_FileExists2()
< prev
next >
Wrap
Text File
|
2002-12-20
|
628b
|
22 lines
on test_FileExists2
fxObj = xtra("FileXtra4").new()
thePath = "Macintosh HD:Applications (Mac OS 9):Director 8.5:"
theTypes = "TEXT/JPEG/PDF "
newPath = fxObj.fx_FileOpenDialog(thePath, theTypes)
put "test_FileExists2(): newPath == '" & newPath & "'"
put "test_FileExists2(): length of newPath == " & string(newPath.length)
put "fx_FileExists2() returns " & string(fxObj.fx_FileExists(newPath))
errCode = fxObj.fx_ErrorNumber()
put "FX3 error code: " & string(errCode)
if errCode <> 0 then
put " error string: " & fxObj.fx_ErrorString()
end if
fxObj = 0
end