Opening Files in OS X

Jim Biancolo webmaster at listology.com
Thu Jun 19 15:59:01 EDT 2003


Hi folks,

I have a RR app that saves a text file (with a *.upf extension) like so:

   ask file "Save play as:" with filter "Ultimate Play File (*.upf),*.upf"
   if it is empty then exit mouseUp
   -- do some stuff to txt variable
   put txt into url ("file:" & it)

... and it loads files like so:

   answer file "Open Play:" with filter "Ultimate Play File 
(*.upf),*.upf,All Files (*.*),*.*"
   if it is empty then exit mouseUp
   put url ("file:" & it) into txt

This works great on Windows, but my OS X testers (sadly I just have the 
Windows machine) report that they can't open files.  To quote one user:

"The file picker dialog still appears, and I can see the file I save, but I 
can't click it (it is dim, and apparently "unavailable" to the program."

Can anyone tell me if there's something Mac-specific I need to do in my app?

Thanks!

Jim

-------
http://www.biancolo.com




More information about the use-livecode mailing list