opening a text file

erik hansen erikhans08 at yahoo.com
Mon Apr 28 21:40:01 EDT 2003


--- Wilhelm Sanke <sanke at hrz.uni-kassel.de>
wrote:
> Try this:
> 
> on mouseUp
>   answer file "Choose a textfile" with filter
> "*.txt" # select a file
> from a folder
>   put it into ChosenFile                       
>                       #
> i.e. path + file
>   put "file:"&Chosenfile into URLfile          
>       # create format
> for URL downloading
>   put URL URLfile into fld "Textdisplay"
> end mouseUp

i tried:
answer file "Open Music:" with \
"Macintosh HD/Desktop/music" \
with filter "text file" 

and

with filter "*.music"

now i get into the folder but my text file is
not (the visible of)!

it becomes apparent why so much time is devoted
to tedious file paths.

=====
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