Page 1 of 1
Answer multi lines dialog
Posted: Fri Nov 21, 2008 11:10 am
by alemrantareq
Hi everybody, is their any solution to show the multi lined dialog message. For example, I want to show a dialog message "No text into the clipboard" in the 1st line and "Please copy the code first" in the 2nd line. How to do it with answer command?
Posted: Fri Nov 21, 2008 11:17 am
by Janschenkel
You can do plenty of things with answer dialogs, including styled text by mixing in some htmlText.
Code: Select all
on mouseUp
answer "This is a single line of text"
answer "This is line 1" & return & "This line 2"
put "<p><b>This is line 1 in bold</b></p><p></p><p>This is line 2</p>" into thePrompt
answer thePrompt
end mouseUp
HTH,
Jan Schenkel.