opening a text file

erik hansen erikhans08 at yahoo.com
Tue Apr 29 21:07:01 EDT 2003


--- Richard Gaskin <ambassador at fourthworld.com>
wrote:
> If you were doing this on Windows or UNIX you'd
> need to change your filter
> to reflect the file type extension:
>  answer file "Open Music:" with filter "*.txt"	
> You're on a Mac.  Macs determine file types by
> hidden Finder info rather
> than file name extensions:
> 
>  answer file "Open Music:" \
>  with "Macintosh HD/Desktop/music" \
>  of type "TEXT"

this did the trick. i did have to change my
itemdelimiter from ":" to "/" to obtain
the file name.

thanks,

Erik

=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the use-livecode mailing list