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

Search Results
Subject Author Forum Time
RE: [HELP]match New question Solved!
Solved D: thanks to everyone who helped me^_^ [code=JavaScript] //person string.replace(/!person/mig, function() { c = Math.floor((Math.random()*(Person.length-1))); string = string.replace(/!person/mi, Person[c]) ...
DaAnivScripting01-24-2009 at 02:49 PM
RE: [HELP]match New question Solved!
Well, as I said, you can do anything you want in your replacement handler! Only this time, we don't need [i]any[/i] of the parameters passed to our handler function. [code=js]var c; string = string.replace(/!person/i, function() { c = Math.floor((M...
MattiScripting01-24-2009 at 12:49 PM
RE: [HELP]match New question Solved!
Aah, here comes on of the most beautiful features about JScript's replace function: you can use a regular expression combined with a custom replacement handler function! First of all, you need to put what you want to find between parentheses in your...
MattiScripting01-24-2009 at 11:11 AM
[354] StaticControl questions
Once again I was messing around with the Interface XML. This is what I am seeing currently: [img]http://i39.tinypic.com/167o9r4.png[/img] This is the XML I am using for it:[code=xml]<Control xsi:type="StaticControl" Id="ttlWLMStatusShadow"> <Pos...
mynetx01-23-2009 at 10:23 AM
[354] RTL interface windows
There seems to be a big incompatibility caused by RTL windows. Look at this: [img]http://i39.tinypic.com/rw496r.png[/img] WLMStatus with Language set to Arabic The strings in the LinkControls simply mess around (getting worse when I hover them), and ...
mynetx01-22-2009 at 06:29 PM
[VB.NET] Using a custom cursor in .cur format
Since for some reason VB.NET doesn't like using the current applied scheme's hand/link cursor resource and instead favours the ugly aliased default one that's been in use since 9x or earlier (it shows the exact same one on Vista), I decided to try...
ryxdpTech Talk01-22-2009 at 05:03 AM
RE: [Solved] problems with a status checker script...
Messenger.MyStatus will show you the current status. OnEvent_MyStatusChange is called before the status is changed that is why the Parameter NewStatus is there. If you replace Messenger.MyStatus with just NewStatus it will be fine :). Also a few poin...
mattyScripting01-21-2009 at 06:30 PM
RE: Script query
[code=js]var status = new Array("Unknown", "Offline", "", "Online", "Busy", "BRB", "Idle", "Away", "In A Call", "Out to Lunch"); // I think I got them in the right order Debug.Trace(status[Contact.Status]); // Obviously, you have...
SpunkyScripting01-21-2009 at 06:01 PM
RE: Script query
You can do it that way using the Rich/EditControl or a ListBoxControl. The ListBoxControl would be a better method for this however for the Rich/EditControl you can read the string and split the string on \n which would then cause the string to be c...
mattyScripting01-21-2009 at 03:24 PM
RE: Menu problem
The problem lies in the fact that you're trying to use some kind of menu identifier as window identifier. In your JScript: [code=js]WndNew = MsgPlus.CreateWnd("New.xml", "mnuNew");[/code] In your interfaces XML: [code=xml]<Window Id="options" ...
MattiScripting01-21-2009 at 12:25 PM
RE: Menu problem
[code=jscript]function OnEvent_MenuClicked(MenuItemId, Location, OriginWind) { if (MenuItemId == "mnuNew") { WndNew = MsgPlus.CreateWnd("New.xml", "mnuNew"); } else if (MenuItemId == "mnuAbout") { WndAbout =...
mynetxScripting01-21-2009 at 10:28 AM
RE: [353] MP!L update checker bug?
[b]1.25[/b][code=xml]<?xml version="1.0"?> <ScriptInfo xmlns="urn:msgplus:scripts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta nce" Version="1.0"> <Information> <Name>NudgesToolsScript</Name> <Description>This script was written By TheGu...
mynetx01-20-2009 at 09:41 AM
RE: How to update the DP filename as personal Msg
Sorry but that is not completely correct. A file does not [b]have to[/b] have an extension (.xxx). lastIndexOf() will return -1 if there is no period in the string. This leaves us with substring(0, -1), which will return "". If I should further ex...
Danny22Scripting01-19-2009 at 08:31 PM
RE: How to update the DP filename as personal Msg
...which essentially does the same as [code=js]Messenger.MyPersonalMessage = fileName.Name.substring(0, fileName.Name.lastIndexOf("."))[/code] back on windows, so it's tested this time ;)
JesusScripting01-19-2009 at 07:04 PM
RE: How to update the DP filename as personal Msg
I just did some research on the web, turns out fileName is a misleading name for the variable. It's actually a File Object, obtained by enumerating a Folder Object from the FileSystem ActiveX. Anyway, you can get its filename by using [code=js]Messe...
JesusScripting01-19-2009 at 03:46 PM
RE: How to update the DP filename as personal Msg
Let me get this straight... fileName contains the full path to the new image. you want to set your PSM to the name of the file in fileName if so, use something along these lines: (can't test atm because I'm on a linux machine, but it should work) [...
JesusScripting01-19-2009 at 03:27 AM
RE: How to update the DP filename as personal Msg
Best way to do it would be [code=js]Messenger.MyPersonalMessage = filename.substring(filename.lastIndexOf('\\')+ 1);[/code]
mattyScripting01-18-2009 at 02:59 PM
[353] Finnish translation
mynetxTranslation01-16-2009 at 05:02 PM
RE: Image transfer... why?! D:
thats because thats not the actual script ;)
Th3rmalSkype & Live Messenger01-15-2009 at 11:35 AM
RE: Image transfer... why?! D:
hm, this script dosent work its me:( we use wml2009.
akyyySkype & Live Messenger01-15-2009 at 11:29 AM
RE: OnEvent_ChatWndReceiveMessage problem
[code=jscript]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind){ MsgPlus.DisplayToast('Message?!?','You got a Message'); }[/code] that code seems to work... though i am having the bug where toasts are delayed a long time....
NanaFreakScripting01-15-2009 at 06:38 AM
RE: Image transfer... why?! D:
what about dragging images in, too :p
ShawnZSkype & Live Messenger01-15-2009 at 06:13 AM
RE: Image transfer... why?! D:
I can write a script tonight, if people want, that will override the ctrl+v functionality for images and will send the image instead of using the photosharing. It is as simple as using this code: [code=js]function OnEvent_ChatWndEditKeyDown(oChatWnd,...
mattySkype & Live Messenger01-14-2009 at 09:21 PM
RE: [Release] msfSpy (Minesweeper Flags Spy)
I have a workaround that may resolve the issue in XP but the Vista thing I am a bit stumped on. I think it has to do with specific access in the process but that shouldn't matter as the process isn't being written to from another it is all internal...
mattyScripting01-14-2009 at 05:56 PM
RE: Copy E-mail Address in Chat Window
Why not just script it... typing /copy would take less than clicking the menus... [code=js]function OnGetScriptCommands( ) { return '<ScriptCommands><Command><Name>copy</Name><Descr iption>Copy all of the contacts email address to the clipboard</Des...
matty01-13-2009 at 07:15 PM
[Hide Excerpts] Pages: (51): « First « 40 41 42 43 [ 44 ] 45 46 47 48 » Last »