Sending mail on Windows?

Magnus von Brömsen webmaster at studioalice.se
Fri Mar 29 02:58:01 EST 2002


On onsdag, mars 27, 2002, at 06:16 , Rob Cozens wrote:

> I hope you picked up on my second note that the handlers were not 
> working correctly for me...and please call me Rob (or "you damned 
> foole" in cases where it is more appropriate).

Okay,  Rob.
I solved it in another way (that I think is better for 
computer-illiterate).
If there are any other rookies (like me) out there, who wants to save a 
text with different extension, here is the script:

on mouseUp
   answer "Choose one" with "Excel" or "Word" or "Plain Text" or "Cancel"
   if it is "Excel" then
     ask file "Save order as:" with "Untitled" with filter "Excel 
file,*.xls"
     if it is empty then exit mouseUp
     put field "OrderData" into url ("file:" & it & ".xls")
   else
     if it is "Word" then
     ask file "Save order as:" with "Untitled" with filter "Word 
file,*.doc"
     if it is empty then exit mouseUp
     put field "OrderData" into url ("file:" & it & ".doc")
   else
     if it is "Plain Text" then
     ask file "Save order as:" with "Untitled" with filter "Plain Text 
file,*.txt"
     if it is empty then exit mouseUp
     put field "OrderData" into url ("file:" & it & ".txt")
   end if
end if
end if
end mouseUp

/Magnus von Bromsen

-------------------------------------------------------------------
"Bränt barn skyr Windows."
-------------------------------------------------------------------
Studio Alice
Magnus von Brömsen
0702-212 495
0322-633 833
www.studioalice.se




More information about the use-livecode mailing list