A cross-platform answer file?

Richard Gaskin ambassador at fourthworld.com
Mon Jan 26 02:12:11 EST 2004


Doug Lerner wrote:

>>> How would one make a cross-platform version of this answer file prompt?
>> 
>> on mouseup
>> if the platform = "MacOS" then
>> put "JPEGGIFfPNGf" into filterlist
>> else  ##for windows, no idea about *nix...
>> put "*.jpg;*.gif;*.png" into filterlist
>> end if
>> answer file myPrompt with filter filterlist
>> ## do your stuff here...
>> end mouseup
> 
> I notice this only works on OS X with files created on a Mac. Other JPEGs
> and GIFs don't have the write JPEG and GIFf thing set unless you open them
> up first and save them with a Mac app.


This is a deficiency in the design of OS X as regards backward compatibility
with Finder metadata.  For background on the topic:

<http://lists.runrev.com/pipermail/use-revolution/2004-January/028273.html>

<http://lists.runrev.com/pipermail/use-revolution/2004-January/028261.html>

<http://lists.runrev.com/pipermail/use-revolution/2004-January/028275.html>


--
 Richard Gaskin 
 Fourth World Media Corporation
 Software Design and Development for Mac, Windows, Linux, and the Web
 ____________________________________________________________________
 Ambassador at FourthWorld.com                http://www.FourthWorld.com



More information about the use-livecode mailing list