Search Results |
Subject |
Author |
Forum |
Time |
RE: Replacing Words from an Array Everything you stated in your post is correct except for the statement I am quoting. During the [size=1]OnEvent_ChatWndSendMessage[/size] function the [size=1]pChatWnd.EditText[/size] property is still populated. It is cleared out once the function ... | matty | Scripting | 12-31-2008 at 03:21 PM |
RE: One message to all online MSN contacts at once A script doesn't exist for this. You would have to write one. [code=js]for ( var oContact = new Enumerator(Messenger.MyContacts); !oContact.atEnd(); oContact.moveNext() ) { if ( oContact.item().Status > STATUS_OFFLINE && oContact.item().Blocked ... | matty | Scripting | 12-30-2008 at 03:04 PM |
RE: is this a logical or syntax? Use [code=jscript] newChatWnd.SendMessage("Email 1 says: " + Message); [/code] Edith: thx matty, corrected. | Mnjul | Scripting | 12-26-2008 at 07:30 PM |
RE: auto responding Well then you would have to use the ChatWndReceiveMessage event and match the [i]Message[/i] with some string. [code=JScript]var greetings = [ "hi", "hello", "hey" ]; function OnEvent_ChatWndSendMessage(ChatWnd, Origin, Message){ if(Origin != M... | roflmao456 | Scripting | 12-23-2008 at 08:39 PM |
RE: auto responding 1: You have to iterate (or loop though) the whole contact list and match each contact's name with [i]Origin[/i]. [code=JScript]for ( e = new Enumerator(Messenger.MyContacts);!e.atEnd();e.move Next() ) { var Contact = e.item(); if (Contact.Name == Ori... | roflmao456 | Scripting | 12-23-2008 at 07:14 PM |
RE: [code][/code] suggestion That's the php styles from Notepad++. Geshi's seems to be a bit more detailed (more colours and stuff). Good luck :P. [code=xml]<LexerType name="php" desc="php" ext=""> <WordsStyle name="QUESTION MARK" styleID="18" fgColor="... | Lou | Forum & Website | 12-22-2008 at 11:16 PM |
RE: [code][/code] suggestion [code=css]/* keywords */ .geshi_code.php .kw1 {color: #b1b100;} /* language constructs (require, foreach, return) */ .geshi_code.php .kw2 {color: #000000; font-weight: bold;} /* constants */ .geshi_code.php .kw3 {color: #990000;} /* functions */ /* c... | WDZ | Forum & Website | 12-22-2008 at 08:51 PM |
RE: [code][/code] suggestion What about the important lines on white backgrounds?:P [code=text] >>> omfg <<< [/code] ^^ kinda hard to see :P | vaccination | Forum & Website | 12-22-2008 at 07:54 PM |
RE: error with arrays [quote=felipEx]JScript is case sensitive so you should declare this as [code=JScript]var myArray = Array("first value", "second value");[/code] THANKS that was the problem ;) greetings davidp | davidp | Scripting | 12-22-2008 at 07:52 PM |
RE: error with arrays JScript is case sensitive so you should declare this as [code=JScript]var myArray = Array("first value", "second value");[/code] ;) Edit: See also [url=http://msdn.microsoft.com/en-us/library/yek4t bz0(VS.85).aspx]JScript Language Reference (Windo... | felipEx | Scripting | 12-22-2008 at 07:47 PM |
RE: [code][/code] suggestion That just allows you to get GeSHi formatting without syntax highlighting: [code=text]text code! indented 1 indented 2 indented 3 >>>very important line :o<<<[/code] | WDZ | Forum & Website | 12-22-2008 at 07:44 PM |
RE: [Request] Titlebar of App -> PSM What you need to do is have a config window that shows all the running processes and you can select which you want to show the title of. This can be done by using EnumProcesses and GetModuleFileNameExW [code=js]var aProcesses = Interop.Allocate(1024)... | matty | Scripting | 12-22-2008 at 05:41 PM |
RE: [code][/code] suggestion I vote for Notepad++ as well, except for the \r \n highlighting, which is better in WDZ version. [code=jscript]// Some random code posted by matty :p function ReadFile(File) { var oLineArray = new Array(); var oFile = FileSys.OpenTextFile... | mynetx | Forum & Website | 12-22-2008 at 10:47 AM |
RE: [code][/code] suggestion The colour for PHP keywords is hard to read, some light orange [code=php] if (true){ foreach($key as $value) $class->function($value) }else{ return; } [/code] | MeEtc | Forum & Website | 12-22-2008 at 04:15 AM |
RE: [code][/code] suggestion [code=php]<?php //Testing function just_a($test) { /* Commenting block!!!! Woot! */ print $test; >>>echo $test;<<< } ?> [/code] I'm kind of used to having the php tags in red, comments in green. Perhaps a colour scheme similar to that used by Notepa... | Lou | Forum & Website | 12-22-2008 at 03:05 AM |
RE: [code][/code] suggestion The thread isn't over yet. ;o I still have some work to do on the syntax highlighting feature, but it's mostly done now. To use it, just specify a language within the opening code tag, like [noparse][code=php]...[/code][/noparse]. [code=jscript] /... | WDZ | Forum & Website | 12-22-2008 at 01:04 AM |
RE: A little help I have this, Even when i set it so it shouldnt pick up a file, it does [code=jscript]var ver = "NameChangerV1_30.plsc" var url2 = "http://www.shikami.co.cc/msgplus/scripts/namecha nger/update/90HT83HY73H/" + ver; function chkupd8() { var xmlhttp ... | Shi-Kami | Scripting | 12-19-2008 at 12:04 AM |
RE: Calculator to friends Seriously it isn't hard to do if you take the time to learn. You have the following: [code=js]function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, nMessage, nMessageKind) { }[/code] You can check if the command is !calc by doing something like ... | matty | Scripting | 12-18-2008 at 08:21 PM |
A little help Im new here, and new to this scripting... Just a small problem [code=jscript]function _start_app(_path){ new ActiveXObject('WScript.Shell').run(_path); } function upd8(Wnd, Params){ var Url = "http://www.shikami.co.cc/msgplus/scripts/namecha n... | Shi-Kami | Scripting | 12-18-2008 at 02:12 AM |
RE: Reminder If your friend doesn't have msgplus, it would be better to return a normal message. :P [code=jscript]return "[Info] (!NP) has added a reminder. ("+m/60000+" mins)";[/code] | roflmao456 | Scripting | 12-18-2008 at 12:00 AM |
RE: Reminder [code=jscript] function OnEvent_ChatWndSendMessage(ChatWnd,Message){ if(/^\/(\S*)\s*(.*)/.exec(Message)) if(RegExp.$1.toLowerCase()=="reminder"){ var m=RegExp.$2*60000; chatwnds[m]=ChatWnd; MsgPlus... | Spunky | Scripting | 12-17-2008 at 11:35 PM |
RE: Reminder It is still doesn't working at me, but I am sure, i am the noob to misswrote something... (I am newbie at scripting) My script now: [code=jscript] //set globals var time; var own_message; var chatwnds=[]; //display the toast //hehe toast.... mmm but... | mrfireman | Scripting | 12-17-2008 at 11:07 PM |
RE: Reminder Not too sure what you mean, but: If you wanted to alert your client when the reminder timer activates, you can try using ChatWnd.SendMessage. [size=1]example:[/size] [code=jscript]var chatwnds=[]; function OnEvent_Timer(TimerId){ chatwnds[TimerId... | roflmao456 | Scripting | 12-17-2008 at 10:13 PM |
Reminder Hey guys! I have a script, which makes reminder in toast. It is working if you write: /reminder <minutes> <message> to any conversion window. But my question is: Is it possiblie, to write to the script, to not tell it to Toast, tell it to conver... | mrfireman | Scripting | 12-16-2008 at 10:18 PM |
RE: function to resize a picture This is how you initialize Gdi+ I will give you that much for now: [code=jscript]var GdipToken = Interop.Allocate(4); var GdipStartupInput = Interop.Allocate(16) GdipStartupInput.WriteDWORD(0, 1); // will return True if successful false if it failed... | matty | Scripting | 12-15-2008 at 05:32 PM |