Search Results |
Subject |
Author |
Forum |
Time |
RE: Problem Packing Make sure all the XML files are saved as Unicode. I assume 7zip would create a proper zip archive. You can also try using the built in Zip Wizard in Windows. Here is an example of a ScriptInfo.xml file [code=xml]<?xml version="1.0" encoding="UTF-1... | matty | Scripting | 10-12-2010 at 05:52 PM |
RE: Chunks Revealed And lastly: [spoiler][code=xml]<?xml version="1.0" encoding="UTF-16"?> <Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta nce" xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd"> <GlobalCol... | matty | Scripting | 10-08-2010 at 03:09 PM |
RE: Chunks Revealed Thanks for posting that Cookie! I forgot to! Here is something else you can do: [spoiler][code=xml]<?xml version="1.0" encoding="UTF-16"?> <Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta nce" xsi:sch... | matty | Scripting | 10-08-2010 at 02:52 PM |
Chunks Revealed This thread is for the long time members who could never figure out from the official documentation how to use chunks. And after spending sometime with Patchou this week in Montreal and complaining to him that the schema validates fine but it still d... | matty | Scripting | 10-08-2010 at 02:52 AM |
RE: Anyway to automatically set AWAY when computer is lock? This works. [code=js]var bIsDesktopLocked = isDesktopLocked(); var nPreStatus = 0; function OnEvent_Initialize() { if (Messenger.MyStatus < STATUS_INVISIBLE) return false; MsgPlus.AddTimer('isDesktopLocked()', 100); } function OnEv... | matty | WLM Plus! Help | 10-01-2010 at 12:45 AM |
RE: Anyway to automatically set AWAY when computer is lock? Well currently it would set you to idle if you lock your computer. You can change both the STATUS_IDLE with any of the [url=http://mpscripts.net/docs/ref-messenger-mysta tus.php]following[/url] | matty | WLM Plus! Help | 09-30-2010 at 03:12 AM |
RE: Anyway to automatically set AWAY when computer is lock? Thanks! Exactly best of what I wanted! :D There is a line that I can change if I choose to set as BUSY instead of AWAY? :D | Bryan84 | WLM Plus! Help | 09-30-2010 at 02:52 AM |
RE: Anyway to automatically set AWAY when computer is lock? Well I could easily create a script to set the status to Idle when you lock your computer. That is simple. Something like this could work (untested by the way): [code=js]var bIsDesktopLocked; var nPreStatus = 0; function OnEvent_Initialize() { if... | matty | WLM Plus! Help | 09-29-2010 at 01:31 PM |
RE: Idle Manager not working - help! (really need this) Create a script and add this code to it. It will set the status to Appear Offline when your status is changed to Idle. [code=js]function OnEvent_MyStatusChange(nStatus) { if (nStatus === STATUS_IDLE) Messenger.MyStatus = STATUS_INVISIBLE; }[/code... | matty | WLM Plus! Help | 09-13-2010 at 11:25 PM |
RE: if = true and also executing else For starters remove the ; at the end of Wnd.Close(7) if you want to use the short form. If you write IF THEN ELSE code in that way, thus seperated over multiple lines, remember that all those lines are actually always seen as 1 command line. But ; do... | CookieRevised | Scripting | 09-10-2010 at 10:47 PM |
RE: AJAX isn't working I agree it can be harder to read if you omit the braces, but what I meant was, for example, the difference between these two code blocks: [code=js]if(functionA()) { if(functionB()) { // do something } else { // handle error b } } else { // ... | Eljay | Scripting | 08-30-2010 at 10:35 AM |
RE: AJAX isn't working You would be surprised to know how many people start scripting without properly reading the docs (and then comming here for help) :P Anyways, I posted that because you asked about changing recieved text. Those are the basics to know for doing that. I... | CookieRevised | Scripting | 08-30-2010 at 09:01 AM |
RE: AJAX isn't working There are some things you need to know whenyou want to change recieved text. Biggest thing is that you can never change recieved text to text which is longer than the original. Second, text you receive also includes your own send messages. See OnEven... | CookieRevised | Scripting | 08-30-2010 at 08:31 AM |
RE: AJAX isn't working Yeah, I know about that error of mine. But can't it be like this? [code=js] function OnEvent_ChatWndSendMessage(Wnd, Message) { if(Message.substr(0, 10) != "/ajax-test") return Message; // handling for /ajax-test } [/code] Also, I ... | The-Phantom | Scripting | 08-30-2010 at 06:48 AM |
RE: AJAX isn't working That is very wrong and you should never be doing this. You cripple the proper workings of command handling by that. You should be doing the opposite: [code=js] function OnEvent_ChatWndSendMessage(ChatWnd, Message) { if (Message.substr(0, 10) === ... | CookieRevised | Scripting | 08-29-2010 at 08:24 PM |
RE: AJAX isn't working Since you want to modify the sent message, you need to use a synchronous XMLHTTP request as opposed to an asynchronous request. You need to modify the return value of OnEvent_ChatWndSendMessage, so your script has to wait for the result before contin... | Matti | Scripting | 08-29-2010 at 07:10 PM |
Autopager Not sure if anybody will want this, but will post it in case they do. Basically just an autopager script (made and tested in chrome; not tried in FF). Couldn't find anything like this already posted so I thought I'd go ahead. If you use autopager a... | Spunky | Forum & Website | 08-24-2010 at 11:06 PM |
RE: Could someone do me a favor and run this Got it figured out :) [size=1]With some help from Cookie[/size] Some of the children have children of their own :) Thanks to Cookie for writing this up while I was at my girlfriend's place :) [code=js]var sResName = GetMsgrStringResource(60052); var... | matty | Scripting | 08-24-2010 at 10:45 PM |
RE: Could someone do me a favor and run this I was going off of the image Eljay posted. The parent of the DirectUIHWND was IM Window Class... | matty | Scripting | 08-24-2010 at 07:08 PM |
RE: Could someone do me a favor and run this var hWnd = Interop.Call('user32', 'FindWindowExW', pChatWnd.Handle, 0, 'IM Window Class', ''); ... IMWindowClass? | segosa | Scripting | 08-24-2010 at 07:05 PM |
RE: Could someone do me a favor and run this Thanks LJ! Could you guys run this now [code=js]var MAXLEN = 0xff; var IID_IAccessible = Interop.Allocate(0x10); Interop.Call('ole32', 'IIDFromString', '{618736E0-3C3D-11CF-810C-00AA00389B71}', IID_IAccessible); // A chat window will automatica... | matty | Scripting | 08-24-2010 at 03:34 PM |
Could someone do me a favor and run this I just need the debug results from when a Chat Window is opened. Thanks [size=1]If it crashes I am sorry :([/size] [code=js]var MAXLEN = 0xff; var oChatWnd = {}; var IID_IAccessible = Interop.Allocate(0x10); Interop.Call('ole32', 'IIDFromString',... | matty | Scripting | 08-24-2010 at 03:12 PM |
RE: Detect Minimized Window? Thanks a lot! I was confused at first, cause I replaced "user32" (with quotes) to the parameter "Origin" (without quotes), thinking user32 was the generic term you threw in there for any random person's chat window. But I googled it and found o... | macgyver08 | Scripting | 08-15-2010 at 02:30 AM |
RE: Detect Minimized Window? [code=JScript]if(Interop.Call("user32", "GetForegroundWindow") == ChatWnd.Handle){ // chatwnd is focused } else { // chatwnd is not focused }[/code] (not tested but should work) :P | roflmao456 | Scripting | 08-14-2010 at 11:11 PM |
RE: writing text in registry? Origin is not defined in the scope of Write. You could make the value to write a parameter of the Write function so that you can pass in the value where you call the function. [code=js]function Write( Value ){ // Value is received as first parameter... | Matti | Scripting | 08-14-2010 at 08:34 AM |