is there any way to display an alert\message box (MsgBox) in a script? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: is there any way to display an alert\message box (MsgBox) in a script? (/showthread.php?tid=67516) is there any way to display an alert\message box (MsgBox) in a script? by Baggins on 10-20-2006 at 09:39 PM is there any way to display an alert\message box in a script? RE: MsgBox by ins4ne on 10-20-2006 at 09:42 PM
you mean a 'toast'? i cant script but i know its possible to pop them up. any scripting pro here to correct me? RE: MsgBox by Baggins on 10-20-2006 at 09:45 PM no i do not mean a "toast" i mean like in javascript when you go "alert("hello");" or in vb where you go "MsgBox("hello")" RE: MsgBox by Mike on 10-20-2006 at 09:45 PM
quote:No he meant MsgBox BillBoy: try looking at this: Useful Snippets RE: RE: MsgBox by Baggins on 10-20-2006 at 09:50 PM
quote:i was trying to use MessageBox instead of MessageBoxW what is the difference? EDIT: the problem might not be the msgbox, if there is anything wrong with this script could you please tell me code: RE: is there any way to display an alert\message box (MsgBox) in a script? by Spunky on 10-20-2006 at 10:20 PM
code: JScript is case sensitive and so Email and email are two different variables causing the if statment to never return true. EDIT: Also: code: is not right RE: RE: is there any way to display an alert\message box (MsgBox) in a script? by Baggins on 10-20-2006 at 10:40 PM
code: JScript is case sensitive and so Email and email are two different variables causing the if statment to never return true. that was an accident with typing EDIT: Also: code: is not right this is for debugging purposes. how can i fix it EDIT: never mind i fixed it. thank you! RE: is there any way to display an alert\message box (MsgBox) in a script? by Spunky on 10-20-2006 at 10:42 PM Use "OnEvent_Signin" rather than "Onevent_Signin" RE: is there any way to display an alert\message box (MsgBox) in a script? by Baggins on 10-20-2006 at 10:43 PM thanks RE: is there any way to display an alert\message box (MsgBox) in a script? by CookieRevised on 10-21-2006 at 02:36 AM
quote:Forum search "msgbox" or "message box" or "alert": Alert(MsgBox in VB) Help? MessageBox parameters/flags etc. (aka: always try to search the forums first ) quote:Windows APIs come often in two versions: an ANSI version and a UNICODE version. The ANSI versions are suffixed with the letter A. The UNICODE versions are suffixed with the letter W. eg: MessageBoxA, MessageBoxW In case there are two different APIs, you must explicitly use one of the two. Just using "MessageBox" for example will not work as that API with that name doesn't exist. Ansi is the character set with normal characters (from ascii code 0 to 255). But some languages use other characters or have far more characters than the 26 you're used to. eg: Japanese, Hebrew, etc. For these there is the Unicode set. So functions which exist as a Unicode version can handle all possible characters. It is preffered that you use the Unicode version of APIs when scripting (unless you have a specific reason not to). RE: is there any way to display an alert\message box (MsgBox) in a script? by deAd on 10-21-2006 at 02:54 PM
Here's a function I wrote. Pretty much all it does is call MessageBoxW, but it uses strings instead of constants because I like that better I've made revisions to it but I can't find the file. code: code: |