home *** CD-ROM | disk | FTP | other *** search
/ FCE Gold Plus / GOLD.iso / pc / fscommand / Xtras / FileXtra4-Mac.sit / FileXtra4_test.dir / 00002_Script_test_Open() < prev    next >
Text File  |  2002-12-20  |  399b  |  16 lines

  1. on test_Open
  2.   fxObj = xtra("FileXtra4").new()
  3.   
  4.   thePath = "Macintosh HD:"
  5.   theTypes = "TEXT/PDF /JPEG"
  6.   put "fx_FileOpenDialog() returns " & string(fxObj.fx_FileOpenDialog(thePath, theTypes))
  7.   
  8.   errCode = fxObj.fx_ErrorNumber()
  9.   put "FX3 error code: " & string(errCode)
  10.   if errCode <> 0 then
  11.     put "    error string: " & fxObj.fx_ErrorString()
  12.   end if
  13.   
  14.   fxObj = 0
  15. end
  16.