>Date: Tue, 17 Oct 2000 13:02:46 -0400
>From: Carl West <[EMAIL PROTECTED]>
>I'm trying to show only Quicktime movies in the dialog:
>
> foo = new(xtra "fileio")
> setfilterMask (foo, "MooV")
> proposedFilename = displayOpen(foo)
> openfile(foo, proposedFilename, 0)
> put "proposedFilename",proposedFilename, getfinderinfo(foo)
>
>this shows everything in the directory and I get this in the message window:
>
>- -- "proposedFilename" "Projects:Extracurricular:cinepak2x.MOV" "MooV TVOD"
>
>I'm clearly doing something wrong here but I have no idea where else to
>look for an answer, I tried DOUG, updateStage, the Macromedia site,
>Director help, the manuals, Director Demystified, another third party
>book... no luck
My tests confirm what you are seeing, and you're not doing anything wrong.
Try shutting off the "Automatic File Translation" in the Mac OS Easy Open
control panel and that should solve your problem. The OS is showing you
all the files that can be recognized or translated into the desired type,
or something like that.
If you test it more carefully with different file types, you'll see that
not all file types are shown in the dialog box. You're probably only seeing
those that, say, MoviePlayer can translate into MooV files if necessary.
If you change the control panel setting, this should work:
setfilterMask (foo, "MooV") -- Show QT files
setfilterMask (foo, "TEXT") -- Show Text files
Don't use "TVOD" and "ttxt". Those are creator codes and not file types.
Looks like I need to add that to Lingo in a Nutshell... ;)
Cheers,
Bruce
Bruce Epstein, Zeus Productions, [EMAIL PROTECTED], 732-940-2800
Check out LAST CALL - The Ultimate Bartending Sim:
http://www.zeusprod.com/games/lastcall.html
--------
Director and Lingo in a Nutshell (DiaN/LiaN) kick butt.
Free Sample Chapters: http://www.zeusprod.com/nutshell/downloads/
--------
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]