home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FCE Gold Plus
/
GOLD.iso
/
pc
/
fscommand
/
Xtras
/
FileXtra4-Mac.sit
/
FileXtra4_test.dir
/
00007_Script_test_OpenDocument()
< prev
next >
Wrap
Text File
|
2002-12-20
|
942b
|
21 lines
on test_OpenDocument
fxObj = xtra("FileXtra4").new()
thePath = "Kent's test acrobat cd:Test Folder Name Really Long1:Test Folder Name Really Long2:Test Folder Name Really Long3:"
thePath = thePath & "Test Folder Name Really Long4:Test Folder Name Really Long5:Test Folder Name Really Long6:"
thePath = thePath & "Test Folder Name Really Long7:Test Folder Name Really Long8:Test Folder Name Really Long9:"
thePath = thePath & "Test Folder Name Really Long10:Test Folder Name Really Long11:Test Folder Name Really Long12:"
thePath = thePath & "ipod-ee times.pdf"
put "test_OpenDocument(): length of path == " & string(thePath.length)
put "fx_FileOpenDocument() returns " & string(fxObj.fx_FileOpenDocument(thePath))
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