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

Search Results
Subject Author Forum Time
RE: Problem with Twitter-PHP and My Script
Change this:[code=js]var xml = new ActiveXObject('Microsoft.XMLDOM'); [/code] to this: [code=js]var xmldom = new ActiveXObject('Microsoft.XMLDOM'); [/code] My bad! This is more JScript than Javascript.
mattyScripting09-15-2009 at 03:10 PM
RE: Problem with Twitter-PHP and My Script
You would have had to figure that one out for yourself... [code=js]getTwitterStatusFromXML ( 'http://www.twitter.com/status/user_timeline/p3ac emak3r.xml' ); function getTwitterStatusFromXML ( url ) { var xmlhttp = new ActiveXObject('Microsoft....
mattyScripting09-15-2009 at 12:46 PM
RE: Problem with Twitter-PHP and My Script
[code=js] getPageText ( 'http://www.twitter.com/status/user_timeline/p3ac emak3r.xml' ); function getPageText ( url ) { var xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); xmlhttp.open('GET', url, true); xmlhttp.onreadystatechange=function(...
mattyScripting09-14-2009 at 08:03 PM
RE: HELP - Resizing a child window!
Like I said, I didn't have the time this morning. I had a few hours off at school, so I rush-finished some homework (still too late for school though :$ :P ). Anyway, seems like I was confused by the window IDs. I'm used to a system like this: [cod...
SmokingCookieScripting09-14-2009 at 05:20 PM
RE: HELP - Resizing a child window!
Umm... [code=xml]<Window Id="WndCommandBar_Shell" Version="1"> <Attributes> <Caption>Command Bar</Caption> <TopMost>true</TopMost> <ShowInTaskbar>false</ShowInTaskbar> </Attributes> <TitleBar> <AllowMinimize>false</AllowMinimize> ...
whizScripting09-14-2009 at 03:55 PM
Python help
I'm coding a program that sends some data via serial when a key is pressed: [code=Python]from Tkinter import * from serial import Serial Arduino = Serial(3) Arduino.baudrate = 115200 root = Tk() def Acelerate (event): Arduino.write ("Ax") def Rev...
ChancerTech Talk09-14-2009 at 01:47 AM
RE: HELP - Resizing a child window!
I've done all that, and the parent/child windows are loaded, but as soon as I resize the window, the child disappears. It leaves just an empty parent window...
whizScripting09-13-2009 at 09:59 AM
RE: Some PHP help, yet again
Thank you Matti :) How could I then count the number of .bsp files and display that? Also I am using the following code(very messy, I know) to get all images inside a directory and display them on after another with their names. How could I make them...
JimboTech Talk09-12-2009 at 07:44 PM
RE: Some PHP help, yet again
[code=php]<?php foreach (glob("/path/to/maps/*.bsp") as $file) { $info = pathinfo($file); echo $info['filename']; // requires PHP 5.2.0 !!! } ?>[/code] If you're running on PHP < 5.2.0, you can get the file name using substr() and strrpos(): [...
MattiTech Talk09-12-2009 at 04:02 PM
RE: HELP - Resizing a child window!
Actually, SetWindowPos is the right function for this. I've had many trouble before using MoveWindow, and SetWindowPos was always the answer. :P Anyway, I've done this in my [url=http://shoutbox.menthix.net/showthread.php?ti d=65123]Countdown Live s...
MattiScripting09-12-2009 at 03:32 PM
RE: HELP - Resizing a child window!
[code=js]var WndCommandBar_Shell = MsgPlus.CreateWnd("Windows.xml", "WndCommandBar_Shell", 0); var WndCommandBar_CMain = MsgPlus.CreateChildWnd(WndCommandBar_Shell, "Windows.xml", "WndCommandBar_CMain", 12, 2); var PosInfo = RetrievePos(WndCo...
whizScripting09-12-2009 at 03:09 PM
RE: HELP - Resizing a child window!
First, I was wrong about SetWindowPos();. My apologies. You actually need to use MoveWindow(); Second, you've probably got the first part correct, but the second is kinda.. ya know.. :P As the scripting docs say, you need to pass the element ID to P...
SmokingCookieScripting09-12-2009 at 02:49 PM
RE: HELP - Resizing a child window!
I don't know where to start for doing that... something like this? [code=js]var WndCommandBar_Shell = MsgPlus.CreateWnd("Windows.xml", "WndCommandBar_Shell", 0); // parent var WndCommandBar_CMain = MsgPlus.CreateChildWnd(WndCommandBar_Shell, ...
whizScripting09-12-2009 at 02:35 PM
HELP - Resizing a child window!
This is basically a script which gives you a "command bar" (sort of like a floating deskbar), with various commands. [code=xml]<!-- the parent window --> <Window Id="WndCommandBar_Shell" Version="1"> <Attributes> <Caption>Command Bar</Captio...
whizScripting09-12-2009 at 01:28 PM
RE: A newbie question
A function definition has the following form: [code=js]function functionName(paramName1, paramName2) { // code goes here }[/code] The error in your code is that you're giving a [b]value[/b] instead of a [b]variable name[/b] where your parameters g...
MattiScripting09-03-2009 at 05:00 PM
RE: Script Always Stopped
[code=js]var ChatWnd = Messenger.OpenChat ( 'johndoe@hotmail.com');[/code] Coming from someone who knows a few different programming languages, I have never seen an object declared that way, or anything for that matter. I've only seen that method...
Samo502Scripting09-03-2009 at 04:12 PM
RE: Script Always Stopped
The ChatWnd object is inherited by certain actions you cannot just use it like that. You get access to the object by doing something like this for instance: [code=js]var ChatWnd = Messenger.OpenChat ( 'johndoe@hotmail.com'); ChatWnd.SendMessage ( ...
mattyScripting09-03-2009 at 04:03 PM
RE: A newbie question
GetControlText is a function of the Plus! Window. Therefore when you open the window you need to assign it to a variable for later use. [size=1]The following is simply an example and shouldn't be used for larger scripts with multiple windows[/size]...
mattyScripting09-03-2009 at 03:48 PM
XSD linking constraints to other elements
Hai ok so i dont really know how to explain this but.... [code=xml] <?xml version="1.0" encoding="UTF-8"?> <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" <!-- our tes...
-dt-Tech Talk09-01-2009 at 05:55 AM
RE: one noob question
It worked! Thank you (l)
P4uLoScripting08-27-2009 at 03:22 PM
RE: one noob question
http://msdn.microsoft.com/en-us/library/t58aa4dd%2 8VS.85%29.aspx [code=js]Messenger.MyPersonalMessage = new ActiveXObject ( 'Scripting.FileSystemObject' ).OpenTextFile ( 'c:\\test.txt' , 1 ).ReadAll ( );[/code]
mattyScripting08-27-2009 at 03:15 PM
RE: certain character colour
It would be easier to do it this way [code=js]function OnEvent_ChatWndSendMessage ( pChatWnd , sMessage ) { return sMessage.replace ( /m/g , '[c=2]m[/c]' ); }[/code]
mattyScripting08-27-2009 at 02:44 PM
RE: script for open all contacts window
Like I said it is a memory intensive task. I would recommend doing something like this: [code=js]// create an array to hold the contact objects var objContacts = new Array(); function OnEvent_Initialize ( ) { // verify user is logged on before doing...
mattyScripting08-27-2009 at 12:52 PM
RE: script for open all contacts window
To open chat windows? That is a very dangerous and memory intensive operation... nonetheless... [code=js]for ( var oContact = new Enumerator ( Messenger.MyContacts ); !oContact.atEnd(); oContact.moveNext() ) { Messenger.OpenChat ( oContact.item()...
mattyScripting08-25-2009 at 05:49 PM
RE: [Request] Script that blocks someone that nudges 5 times in 1 min
[size=1]Several threads already exist about this. eg: [url=http://shoutbox.menthix.net/showthread.php?ti d=69049]Nudge Blocker[/url] [url=http://shoutbox.menthix.net/showthread.php?ti d=67397]Blocking nudges, buzzes or zumbidos [SOLVED][/url] [url=http...
CookieRevisedScripting08-24-2009 at 09:35 PM
[Hide Excerpts] Pages: (51): « First « 23 24 25 26 [ 27 ] 28 29 30 31 » Last »