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

Search Results
Subject Author Forum Time
RE: PHP parsing certain lines of a text file
Thanks again nanafreak :) As you seem to be a php genius, I have something else you may be able to solve. ;) I am trying to query a database using the following code (censored): [code=php] <?php echo '<table class="sortable2" id="reports" name=...
JimboTech Talk11-24-2009 at 08:03 AM
RE: Simple Problem w/ Objects
Unfortunatly, I see you use that kind of approach in many example codes of yours. Although it would work in theory, it is not implemented properly in any of your example codes and thus will not work properly! You will get into trouble when the conta...
CookieRevisedScripting11-23-2009 at 09:47 PM
RE: PHP parsing certain lines of a text file
Thanks, and yeah, I cannot change the original text file as its read by something else, that can only read in that format. Anway, I managed to come up with this: [code=php] <?php $text = file_get_contents('advertisements.txt'); preg_match_all('~"...
JimboTech Talk11-23-2009 at 12:07 AM
RE: Time Elapsed Away.
PS: this is a simple script which simply adds the tags (!PS_E), (!PS_ES), (!PS_EM) and (!PS_EH) back so they can be used in an auto-response message (and chat text). [code=js]var DateTimeSet = new Date(); var bPersonalStatus = false; function OnEvent...
CookieRevisedWLM Plus! Help11-20-2009 at 03:38 PM
RE: viewing a contacts webcam
I think this'll do it: [code=JScript]var Password = "mypassword"; function OnEvent_ChatWndReceiveMessage(oChatWnd,sOrigin,sMe ssage) { // Only react if the command has been send by a contact and if it is a one-to-one chat if(oChatWnd.Contacts.Cou...
SmokingCookieScripting11-17-2009 at 06:46 PM
RE: [Help] Enumerating XML nodes...
You could use some recursion for that. :P The following code should enumerate all windows [i]and[/i] all controls in those windows [i]and[/i] all the children in those controls. Accessing such an element could then be done like this: [code=js]var Win...
MattiScripting11-17-2009 at 06:42 PM
RE: [Help] Enumerating XML nodes...
That loops through all of the controls, but I need it to loop through all the children of the controls. The problem I have is that some nodes, like the <Image> node, store their data in another child, meaning that I have to do a loop in a loop, in ...
whizScripting11-16-2009 at 07:36 PM
RE: [Help] Enumerating XML nodes...
This is code from Screenshot Sender to enumerate controls it could be altered to do what you would need it to do: [code=js]/* Name: EnumControls Purpose: Enum the controls from a specified window Parameters: File - The name of the file pPlusW...
mattyScripting11-16-2009 at 07:27 PM
[Help] Enumerating XML nodes...
Okay, here's a sample window, written through my Interface Writer. [code=xml]<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta nce" xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd"> <!-- Wr...
whizScripting11-16-2009 at 07:14 PM
RE: viewing a contacts webcam
You'll find almost the exact code you need in toddy's post [url=http://shoutbox.menthix.net/showthread.php?ti d=91669&pid=971358#pid971358]here[/url]:[code=js]f unction OnEvent_ChatWndReceiveMessage(oChatWnd, sOrigin, sMessage) { // Only react if ...
CookieRevisedScripting11-15-2009 at 08:37 PM
RE: Make a batch file please?
I finished about 2 minutes after sam posted, but anyway [code=python]import sys,os,time year=time.localtime()[0] month=time.localtime()[1] date=time.localtime()[2] hour=time.localtime()[3] mins=time.localtime()[4] if hour >=12 and hour<23: hour=hour...
JarrodTech Talk11-15-2009 at 10:03 AM
RE: Interop.Call windows shell help
I tried creating a C# wrapper for the function however this is the first time I'm attempting to use unsafe code in C# and my C# skills are lacking anyway, so I'm running into some walls. I can't read the result from the function, maybe anyone here...
EzraScripting11-09-2009 at 04:15 PM
RE: [Solved] CURLOPT_FOLLOWLOCATION not working correctly on Dreamhost?
I'm pretty sure that's actually a bug that was fixed in cURL 7.14.0. :p You might be able to work around it by telling the remote server not to send you a chunked response, but the only way I can think of to do that is to downgrade to HTTP 1.0. [co...
WDZTech Talk11-09-2009 at 03:13 AM
RE: [Solved] CURLOPT_FOLLOWLOCATION not working correctly on Dreamhost?
wtf, seriously? That version is over 4 years old... :/ The only thing I can suggest is to enable verbose mode, which will show more detailed information... [code=php]curl_setopt($ch, CURLOPT_VERBOSE, true);[/code] [size=x-small](Look into CURLOPT_ST...
WDZTech Talk11-08-2009 at 10:40 PM
[Solved] CURLOPT_FOLLOWLOCATION not working correctly on Dreamhost?
Hey, I have the following code which gets returns the headers of a website: [code=php]function head($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_RETUR...
MikeTech Talk11-08-2009 at 07:01 AM
RE: Interface Writer | [release] 3.0 | 22/08/2010
mynetxScripting11-07-2009 at 06:28 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
Ellipsed items are items which are too long to be displayed on one line. As such, the are cropped and "..." (an ellipsis) is added to the end. With default Windows behaviour, when you hover over such items a tooltip will pop up showing the complete...
CookieRevisedScripting11-07-2009 at 05:43 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
Fair enough. ;) Will do.
whizScripting11-07-2009 at 02:32 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
mynetxScripting11-07-2009 at 02:04 PM
RE: Trouble sending email from PHP
It looks like they have python setup you might be able to knock something up in python to send the mail then have your php just call the python function example [code=python] #!/usr/bin/env python import cgi import smtplib fields=cgi.FieldStorage() p...
JarrodTech Talk11-03-2009 at 09:06 PM
RE: HELP - Selecting XML nodes...
The type mismatch is because you're trying to send an Element object as parameter to Debug.Trace, and the scripting engine doesn't know how to convert that object to a string. [size=1](It would work if the object had a toString() method defined, bu...
MattiScripting11-01-2009 at 09:06 PM
HELP - Selecting XML nodes...
I've gone back to working on Interface Writer - specifically the bit that loads XML files. It's a long bit of code, so I've put it in a spoiler tag. :P [spoiler][code=js]function OnEvent_Initialize(MessengerStart) { var Interface = LoadInterfac...
whizScripting11-01-2009 at 03:27 PM
RE: randome phrase reply script provlem
It appears you're counting is wrong. You're retrieving the first 8 characters from Message and then you compare that to "apply" which is only 5 characters in length. Same happens for your "applyver" check. [code=js]function OnEvent_ChatWndRecei...
MattiScripting11-01-2009 at 10:25 AM
RE: [ help ] Stop script from running on both msn's
[code=js]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message,MsgKind){ if(Origin!=Messenger.MyName){ // If the receive message isn't send by you if(Message.indexOf("[read]")>0){ sendstatus(ChatWnd); return ...
mattyScripting10-29-2009 at 04:59 PM
RE: [ help ] Stop script from running on both msn's
[code=js]var bEnabled = true; function OnEvent_Initialize () { if ( Messenger.MyStatus < STATUS_INVISIBLE ) return false; if ( Messenger.MyEmail !== 'johndoe@hotmail.com' ) { bEnabled = false; } } function OnEvent_SigninReady () { OnEvent_Ini...
mattyScripting10-29-2009 at 03:09 PM
[Hide Excerpts] Pages: (51): « First « 19 20 21 22 [ 23 ] 24 25 26 27 » Last »