Opening Files in OS X

Ken Ray kray at sonsothunder.com
Thu Jun 19 18:02:01 EDT 2003


Jim,

What version of Rev is it? The reason I ask is that an earlier version
of the MC engine required that you save *twice* in order for files to
get the right creator codes to be "seen" in the file picker...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of 
> Jim Biancolo
> Sent: Thursday, June 19, 2003 3:51 PM
> To: use-revolution at lists.runrev.com
> Subject: Opening Files in OS X
> 
> 
> 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
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 





More information about the use-livecode mailing list