-----Original Message-----
From: Magnus von Brömsen [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2002 10:48
To: [EMAIL PROTECTED]
Subject: Ask dialog and write file to discHello
I use the Ask file command to let the user provide the name and location of a txt-file. But on testing no file it written to disc.
I get no errors.
So, can anybody tell me what is wrong with this script:
on mouseUp
ask file "Save your order" with "Untitled.txt"
if it is empty then exit mouseUp
open it
write field "totalOrder" to file it
end mouseUp
/magnus
--------------------------------------------------------------------------------------------------
"En lång resa mot fulländandet – från 6.04 till OSX"
--------------------------------------------------------------------------------------------------
Studio Alice
Magnus von Brömsen
0702-212 495
0322-633 833
www.studioalice.se
after
the ask statement try
put
it - into the message box as a
check
then
change the if statement
if it
is empty
then
exit
mouseUp
else
put it
into fld id 1
end
if
Frank
Unconundrum Ltd
- Ask dialog and write file to disc Magnus von Brömsen
- Re: Ask dialog and write file to disc Scott Rossi
- Re: Ask dialog and write file to disc Klaus
- Re: Ask dialog and write file to disc Magnus von Brömsen
- Barlow Frank