Bruce Epstein - Zeus Productions wrote:
> 

> >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.

Thanks Bruce, that was it.
Under OS 9.04, the control panel is File Exchange > File Translation,
uncheck "Translate documents automatically'. Now setFiltermask works as
expected. 

I'm not sure how I feel about having to turn that off. I'll try running
without it for a while. Can't count on the user having it unchecked. grump.


>...
> Don't use "TVOD" and "ttxt". Those are creator codes and not file types.

I had reached the shooting-in-the-dark stage of testing. 


> Looks like I need to add that to Lingo in a Nutshell... ;)

-- 
Carl West    [EMAIL PROTECTED]
617.262.8830 x246    

I have no superfluous leisure; my stay must be
stolen out of other affairs; but I will attend you awhile.

           - Isabella, Measure for Measure, Act 3 Scene 1

[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!]

Reply via email to