> Hi, Carl...
>
> Are we talking about the fileTypeList argument for DialogOpenFile function
> in the Dialogs Xtra???
> If so, DialogOpenFile("RTF") does not load all the RTF files???
> How is your script setup now???
>
> Have a nice day!!!
>
> Jason
Hello Jason
Thanks for responding. This is what I have so far:
*************
file = dialogOpenFile("TEXT", "", "") -- give user an open file dialog to
- -- select text file
if file = EMPTY THEN
exit
end if
if objectP(gFileObj) then -- make sure the fileio object does not exist
- -- already, if so it resets
gFileObj = VOID
end if
gFileObj = new(xtra "fileio") -- open selected file, and read text into -
- -- variable
openFile(gFileObj, file, 1)
*************
If I replace "TEXT" with "RTF", " RTF", "RTF " it does not work. However,
it I use "" it show everything. All the text files, the rtf files,
everything.
Thanks for your help and time,
---------------------------
Carl D. Earnhart II
Software Engineer
DxR Development Group, Inc.
150 E. Pleasant Hill Rd.
Carbondale, Illinois 62901
---------------------------
systemSpecs: PowerPC G4 400, 320RAM, OS 9.1
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]