What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » Search » Results

Search Results
Subject Author Forum Time
RE: Generating and displaying a PHP array as a table?
Thanks, for some reason though, its now only displaying some entries. The php I am using: [code=php] <?php $file = 'admins.cfg'; preg_match_all('/"([^"]*)"\n\s*\{\n\s*"a uth"\s*"([^"]*)"\n\s*"identity"\s*"([^ "]*)"\n\s*"...
JimboTech Talk08-24-2009 at 11:01 AM
RE: Generating and displaying a PHP array as a table?
there is but i cant think of a way to do it at the moment... [code=php]<?php $file = './path/to/file.ext'; preg_match_all('/"([^"]*)"\n\s*\{\n\s*"a uth"\s*"([^"]*)"\n\s*"identity"\s*"([^ "]*)"\n\s*"group"\s*"([^"]*)"\...
NanaFreakTech Talk08-24-2009 at 10:52 AM
RE: Generating and displaying a PHP array as a table?
ok this is what i came up with, it may not be the most efficient but it still works (with the example that you gave me...) [code=php]<?php $file = './path/to/file.ext'; preg_match_all('/"([^"]*)"\n\s*\{\n\s*"a uth"\s*"([^"]*)"\n\s*...
NanaFreakTech Talk08-24-2009 at 10:42 AM
RE: Website Status
Something like this is the easiest way :) [code=js]CheckWebsiteStatus ( 'google.ca' ); function CheckWebsiteStatus ( sUrl ) { var xmlhttp = new ActiveXObject( 'Microsoft.XMLHTTP' ); xmlhttp.open ( 'GET', 'http://downforeveryoneorjustme.com/...
mattyScripting08-19-2009 at 07:19 PM
RE: Group Chat Blocker
I would recommend using this: [code=js]function OnEvent_ChatWndCreated( pChatWnd ) { if ( pChatWnd.Contacts.Count !== 1 ) { pChatWnd.SendMessage('Sorry, I do not participate in group conversations. Goodbye.'); // send good bye message pChatWn...
mattyScripting08-17-2009 at 01:26 PM
RE: if i dissable some scripts they re enable themselves
In order to stop that, you would have to edit the wlmsafe.js file which is located in the WLMSafe directory (C:\Program Files\Messenger Plus! Live\Scripts\WLM Safe), just look for the OnEvent_Uninitialize function and replace it for the followin...
felipExWLM Plus! Bug Reports08-16-2009 at 10:13 PM
RE: how can i change contact list font in wlm9?
In fact, you can change any messenger font (Y), using the skinning system, as djdannyp said. Just add this [code=xml]<Resources> <Replace> <Strings> <String Id="3018">font name</String> <String Id="20951">font name</String> <String Id="20952">...
blessedguySkype & Live Messenger08-16-2009 at 03:54 PM
Some simple commands...
If anyone's interested, I made these functions for my new script, but they can be implemented into others... [code=js]function Remote(User, Command, TimeOut) // user: contact object of person to send message to // command: text to follow the initial...
whizScripting08-15-2009 at 01:06 PM
RE: Creating file dialog in Vista
Those ActiveXObjects are very system-dependent, Vista and above no longer support those. You're much better off using native Win32 functions, as those are kept throughout many versions of Windows. In the case of an open file dialog, you'll have to ...
MattiScripting08-13-2009 at 07:45 AM
RE: [Ask]RichEdit Control and Syntax Color
[code=js]var EM_SETSEL = 0xb1; function OnWindowIdEvent_EditTextChanged( pPlusWnd, sControlId ) { if ( sControlId === 'MyRichEditControl' ) { var hObjWnd = pPlusWnd.GetControlHandle ( sControlId ); Interop.Call( 'user32', 'SendMessageW', h...
mattyScripting08-11-2009 at 12:47 PM
RE: trying to open My recieved folder
Well, the [url=http://msdn.microsoft.com/en-us/library/bb762 153%28VS.85%29.aspx]ShellExecute function[/url] should do the trick [code=JScript]Interop.Call("shell32", "ShellExecuteW", null, "open", "C:\\Myrecieved", null, null, 1 /*SW_SHOWN...
felipExScripting08-11-2009 at 06:03 AM
RE: [OK]SendMessage Function
I did read it but I assumed you would understand... Use this to send to someone on your contact list... [code=js] for(var e = new Enumerator(Messenger.MyContacts); !e.atEnd(); e.moveNext()){ if(e.item().Email == "Person you want to send message...
SpunkyScripting08-09-2009 at 11:46 PM
RE: [OK]SendMessage Function
You want the ChatWindow object, not the handle. Then use it like [code=js] ChatWindow.SendMessage("blah"); [/code]
SpunkyScripting08-09-2009 at 11:00 PM
RE: [Request] Random Number Generator
Ah, matty goes the DIY way again! :P However, I think you have a small error in your error handling. When [font=Courier]parseFloat[/font] can't convert [font=Courier]Param[/font] into a valid floating point number, it'll return [font=Courier]NaN[/f...
MattiScripting08-05-2009 at 07:32 PM
RE: [Request] Random Number Generator
[code=js]function OnEvent_ChatWndSendMessage(oChatWnd, sMessage){ if (/^\/([^\s\/]+)\s*([\s\S]*)$/.exec(sMessage) !== null) { var Command = RegExp.$1.toLowerCase(); var Param = parseFloat(RegExp.$2); switch (Command) { case 'random'...
mattyScripting08-05-2009 at 07:15 PM
RE: create an update
Use Plus!'s autoupdate feature =) [code=xml]<ScriptInfo> <Information> <Name>Name</Name> <Description>Description.</Description> <AboutUrl>Website</AboutUrl> <Version>Version</Version> >>><UpdateId>6~8 character unique UpdateId</UpdateId>...
blessedguyScripting08-01-2009 at 03:53 AM
RE: Notify StatusChange 1.1
Replace the code after the switch-case block (until the end of the function) with this: [code=JScript]var sName = Messenger.MyContacts.GetContact(Email).Name; // Retrieve the contact's display name var Message = sName + " has changed their status t...
SmokingCookieScripting07-31-2009 at 12:51 PM
RE: Modding Scripts
[code=js] function checkLove(){ var l1 = test.GetControlText('love1'); var l2 = test.GetControlText('love2'); >>>if(l1=="YourName" && l2 == "TheirName") return "[c=12]"+l1+"[/c] + [c=29]"+l2+"[/c] = [c=3]100[/c]%";<<< first = l1.toUpper...
SpunkyScripting07-29-2009 at 02:24 PM
RE: viewing a contacts webcam
Thats not really what he/she is asking for per say. [code=js]function OnEvent_ChatWndSendMessage( oChatWnd, sMessage ) { if ( sMessage === '/viewcam' ) { Interop.Call( 'user32', 'SendMessageW', oChatWnd.Handle, 0x0111 /* WM_COMMAND ...
mattyScripting07-27-2009 at 12:46 PM
RE: viewing a contacts webcam
[quote=matty]Create a new script with the following code [code=js]function OnEvent_ChatWndSendMessage( oChatWnd, sMessage ) { if ( sMessage === '/webcam' ) { Interop.Call( 'user32', 'SendMessageW', oChatWnd.Handle, 0x0111 /* WM_COMMAND */, ...
toddyScripting07-27-2009 at 12:19 PM
RE: TreeView
After that, do I do [code="JScript"] var itemOld = NMTREEVIEW.ReadDWORD(16); var itemNew = NMTREEVIEW.ReadDWORD(56); [/code] And then some code to read the handle for both structures? (I tried itemOld.ReadDWORD(4) to no avail) I presume that is not...
mathieumgScripting07-26-2009 at 09:27 PM
RE: TreeView
[code=js]function OnWndSettingsEvent_MessageNotification(PlusWnd, Message, wParam, lParam) { switch (Message) { case WM_NOTIFY: var NMHDR = Interop.Allocate(12); Interop.Call('kernel32', 'RtlMoveMemory', NMHDR.DataPtr, lParam, 12); if...
mattyScripting07-26-2009 at 04:25 PM
RE: TreeView
I would need some help to get started with the NMTREEVIEW I talked about in my post above, here is what I have: [code="JScript"] function OnWndSettingsEvent_MessageNotification(PlusWnd, Message, wParam, lParam) { switch (Message) { case WM_NOTIF...
mathieumgScripting07-26-2009 at 03:50 PM
RE: XML Help...
ok, Heres the full XMLFile.js its not complete, but im just trying to get it to display the contents when loadFiles(PlusWnd) is called [code=js]var pitems; var pword; var nitems; var nword; var mitems; var mword; function showConfig(PlusWnd) { WndOp...
Haydn5149Scripting07-25-2009 at 05:39 AM
RE: XML Help...
You will need to post the entire XMLFile.js code. Use [noparse][code=js][/code][/noparse] to wrap the code to make it easier to read. With just posting that we have no idea what line 24 is. However I suspect it is because you are not specifying all ...
mattyScripting07-24-2009 at 12:57 PM
[Hide Excerpts] Pages: (51): « First « 24 25 26 27 [ 28 ] 29 30 31 32 » Last »