On 1/25/04 12:07 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote:
> Hi Doug > >> In the docs, the example of an answer file for web graphics is: >> >> answer file myPrompt with filter "Web Graphics,*.jpg;*.gif;*.png" > >> But... this doesn't work for OS X, which seems to require a >> concatenation of >> 4-character Mac types. >> >> What are the types in this case? JPEGGIFFPING? >> >> 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. Any workaround for that? doug _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
