Aces Posted July 12, 2007 Share Posted July 12, 2007 (edited) How would I make a list in a MsgBox()? etc: ////////////////////////////////////////// | MsgBoxTitle | | 1. blah | 2. blah | 3. blah | _____ ________ | | OK | | CANCEL | ////////////////////////////////////////// Edited July 12, 2007 by Aces ~~ AutoIt v3 Minion ~~Name: Kevin "Aces-X" MorrisOrganization: A C DevelopmentE-Mail: AcesX91@acecoding.netOS: XP Professional; Vista package~~ Released Software ~~CPU-Mach: Topic at acecoding.net ForumsProxyzBuddy: Beta testing at the moment, private onlyWHSTool: Not released to the public Link to comment Share on other sites More sharing options...
evilertoaster Posted July 12, 2007 Share Posted July 12, 2007 msgbox(0,"Title","line1"&@crlf&"line2 ect") Link to comment Share on other sites More sharing options...
Aces Posted July 12, 2007 Author Share Posted July 12, 2007 ty bud ~~ AutoIt v3 Minion ~~Name: Kevin "Aces-X" MorrisOrganization: A C DevelopmentE-Mail: AcesX91@acecoding.netOS: XP Professional; Vista package~~ Released Software ~~CPU-Mach: Topic at acecoding.net ForumsProxyzBuddy: Beta testing at the moment, private onlyWHSTool: Not released to the public Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 12, 2007 Share Posted July 12, 2007 msgbox(0,"Title","line1"&@crlf&"line2 ect") Actually, to get the CANCEL button included, it would be: msgbox(0 + 1, "MessageBoxTitle", "1. blah" & @crlf & "2. blah" & @crlf & "3. blah") Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
AutoItGal Posted July 13, 2007 Share Posted July 13, 2007 Hi, Just a question. How do you capture the return value if you press OK or Cancel button on the messagebox? Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 13, 2007 Share Posted July 13, 2007 Hi, Just a question. How do you capture the return value if you press OK or Cancel button on the messagebox? To use the return value immediately: While 1 If MsgBox(32 + 4, "Continue?", "Click YES to continue or NO to exit...") = 6 Then MsgBox(64, "YES!", "Yes! You clicked YES! Thank you!") Else MsgBox(16, "No.", "Just had to click no, huh?") ExitLoop EndIf WEndoÝ÷ Ù:,j÷ëÚç×!yÉ"¶Vz¸î²Ûµ«Ú®&殶sbb33c´ç7vW"Ò×6t&÷3"³BÂgV÷CµVW7FöâgV÷C²ÂgV÷CµW2÷"æóògV÷C² Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
AutoItGal Posted July 13, 2007 Share Posted July 13, 2007 To use the return value immediately: While 1 If MsgBox(32 + 4, "Continue?", "Click YES to continue or NO to exit...") = 6 Then MsgBox(64, "YES!", "Yes! You clicked YES! Thank you!") Else MsgBox(16, "No.", "Just had to click no, huh?") ExitLoop EndIf WEndoÝ÷ Ù:,j÷ëÚç×!yÉ"¶Vz¸î²Ûµ«Ú®&殶sbb33c´ç7vW"Ò×6t&÷3"³BÂgV÷CµVW7FöâgV÷C²ÂgV÷CµW2÷"æóògV÷C² Thank you very much. It works now. Link to comment Share on other sites More sharing options...
RDSchaefer Posted July 13, 2007 Share Posted July 13, 2007 Thank you very much. It works now. RTFM! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now