Okay. Thanks. I'm a bit obtuse at this late hour....
(Repeat after me: go to bed, go to bed ;-)
M On Jul 8, 2004, at 1:20 AM, Mark Brownell wrote:
on 7/7/04 9:57 PM, Marian Petrides at [EMAIL PROTECTED] wrote:on mouseUp global gFilePath answer file "select a file" if it contains ".txt" then put URL ("file:" & it) into AddListContents put it into gFilePath else answer " Not a text file" exit mouseUp end if end mouseUpYour second example appears, instead, to be an example of how to WRITE to a file. Or am I simply befuddled at this late hour (nearly 1 AM, my time)??
M
This part is an open file handler that is different from write to or read
from methods. I just added the save method for the heck of it using a global
variable to save to the gFilePath without opening a file selection window
first. Just showing you stuff... look at "answer file" and "ask file" in the
docs.
Mark
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
