Quote
Originally posted by SpacePirate:
Have you tried editing the "File Types..." setting, and having that type in the filter portion of getopenfolderitem()? I'm not sure if it would work, but it may. In the file types setting, you can set possible extensions for files, so this may do the trick.
According to my experiments, REALbasic seems to pay attention to the extensions that are entered in the "File Types" dialog only in Windows applications; Mac applications use the file type and creator code, even on Mac OS X.
Quote
Originally posted by seant:
I thought about that, too. Unfortunately, the files I want to use have no file type when transfered to my mac via network, and an empty string doesn't seem to work. I'll keep messing with it, though I haven't much hope in getting it to work the way I want.
Here's an idea, although there would still be a few problems associated with it: before displaying the open dialog, your program searches through the contents of whichever folder it's working on, and properly sets the file type and creator code based on the extension.
------------------
David Arthur
(url="http://"http://davidarthur.evula.net/")davidarthur.evula.net(/url) | (url="http://"http://www.ev-nova.net/")EV-Nova.net(/url) | (url="http://"http://www.evula.com/survival_guide/")EV Nova Survival Guide(/url)
Truth! Justice! Freedom! And A Hard-Boiled Egg!