Search Results |
Subject |
Author |
Forum |
Time |
RE: Browse For File Since this recently came up again, I'll post my own variation/fix of the above code here. [size=1]Note the word 'variation', as this kind of code is very very generic and can be found all over the net already in various forms. It is simply a matte... | CookieRevised | Scripting | 04-11-2011 at 07:46 AM |
Problems with file dialogs Hi there. Guess what happens when you move from skinning to scripting? Things crash! :zippy: Anyways, I'm using that old dialog Choli posted some time ago, but my script crashes messenger if I close the original window, open the file dialog, and op... | blessedguy | Scripting | 04-10-2011 at 08:04 PM |
RE: [?] GetProcAddress and LoadLibraryW GetProcAddress doesn't take a unicode string :P [code=js]function Print(s){Debug.Trace(s);} var GetModuleHandle = function(ModuleName) { Print("Getting module handle for " + ModuleName); return Interop.Call("Kernel32.dll","GetModuleHand... | Eljay | Scripting | 04-09-2011 at 07:56 PM |
[?] GetProcAddress and LoadLibraryW Wow I've been away for a LOOOOOOOONG time man :| Anyways, I'm having trouble getting GetProcAddress to do what I want. I've managed to have it return a valid (and the right) address value for the ordinal value associated with LoadLibraryW, but it ... | SmokingCookie | Scripting | 04-09-2011 at 07:17 PM |
RE: [IDEA] plusQuery I know, I tried that but it's inaccessible. You can't read global variables from it or add variables to it. Heck, you can't even iterate over its contents. Very sad indeed. :( [size=1]Long post is long indeed.[/size] | Matti | Scripting | 04-06-2011 at 06:11 PM |
RE: [IDEA] plusQuery One thing I noticed [code=js] $.addEventListener("ChatWndReceiveMessa ge", function (chatWnd, origin, message, msgKind) { if (msgKind === 1) { $.triggerCommand($(chatWnd), $(chatWnd.Contacts).GetContact(origin), message.split(' ')[0].toUppe... | matty | Scripting | 04-06-2011 at 05:19 PM |
RE: [IDEA] plusQuery The solution I came up with also uses eval() as there's no global object in JScript which stores the global variables. (In browser JavaScript, there's the global object "window" which holds the global scope.) However, you'll have to do one extra... | Matti | Scripting | 04-06-2011 at 03:03 PM |
RE: [IDEA] plusQuery ...oh hey. I just thought of something... It can be done using eval. (feeling kinda sick just by saying that) [code=js] var plusWnd = $(MsgPlus).CreateWnd("interface.xml", "yiew", 0); //[...] $.wrappers.MsgPlus.CreateWnd = function (XmlFile, Wind... | Amec | Scripting | 04-06-2011 at 02:07 PM |
RE: [IDEA] plusQuery Yeah, I thought about it for a bit, and had no idea. The global variable in JScript seems REALLY screwey. :( Doesn't seem to be a way that I can see which adds properties to it. [code=js] function OnMyWndEvent_Cancel(plusWnd) { $.trigger(plusWnd, ... | Amec | Scripting | 04-06-2011 at 11:12 AM |
RE: [IDEA] plusQuery That is truly amazing! :O Here's a suggestion: use combined getter/setter methods for the properties in the wrapper classes. Instead of storing this.original.Size in this.Size, make a method Size which can be called as a getter with Size() or as a s... | Matti | Scripting | 04-06-2011 at 09:43 AM |
RE: [Resolved] Interop.Call SendMessageW not working since Plus 5/WLM 2011 Note that there actually is no such thing as type casting in JScript. It may look and work like type casting, but actually you're calling a function which happens to behave like a cast. :P The following code: [code=js]var bool = (Boolean)(5);[/code]... | Matti | Scripting | 03-25-2011 at 07:24 PM |
RE: [Resolved] Interop.Call SendMessageW not working since Plus 5/WLM 2011 Cookie couldn't you do something along these lines? [code=js]// Registry key locations var HKEY_CURRENT_USER = 0x80000001; var HKCU = HKEY_CURRENT_USER; var HKEY_LOCAL_MACHINE = 0x80000002; // Registry key constants var ERROR_SUCCESS = 0; var KEY_A... | matty | Scripting | 03-25-2011 at 01:50 PM |
RE: [Release] Log Manager - Version 1.1.008 First of all, this project is sort of discontinued. I'm not planning any updates in the near future. The main reason is that the way the script interacts with the Log Viewer executable is still unreliable and there's no easy way to make this better... | Matti | Scripting | 03-25-2011 at 10:20 AM |
RE: [Resolved] Interop.Call SendMessageW not working since Plus 5/WLM 2011 Oh wow, ok, I guess you did it for me. Thanks! Lol! I had never expected this much help today. I really appreciate it, everyone :) | Domsy | Scripting | 03-24-2011 at 11:27 PM |
RE: [Resolved] Interop.Call SendMessageW not working since Plus 5/WLM 2011 Correct though (I forgot there was no second parameter to specify the type when you read a key). However, there is nothing difficult about a VBArray. In fact using [i]toArray()[/i] is all it takes to convert it. [code=js]try { var oShell = new Activ... | CookieRevised | Scripting | 03-24-2011 at 11:26 PM |
RE: [Resolved] Interop.Call SendMessageW not working since Plus 5/WLM 2011 When you say SendMessageW is failing do you mean the icon just isn't being applied (which is what I assume). What is the return value of the function call? What I would like you to try is this: [code=js]function OnEvent_ChatWndCreated(pChatWnd) { ... | matty | Scripting | 03-24-2011 at 05:06 PM |
RE: msn looks alpha I think blocking using the script engine produces the same result as the new appearing offline in 2011. It would then be possible to check if "x" is unblocked, block them. I'm hoping that appearing offline to someone will trigger a status change ... | Spunky | Skype & Live Messenger | 03-24-2011 at 03:25 PM |
RE: Hidden Window Ah... Didn't see that :). Thanks :) | Fike | Scripting | 03-22-2011 at 08:56 PM |
RE: Hidden Window What about this? [code=jscript]var Wnd = MsgPlus.CreateWnd("<File>", "<ID>", 1);[/code] | whiz | Scripting | 03-22-2011 at 08:45 PM |
RE: Website Editing Just copy & paste the line with the "Home"? | Nagamasa | Tech Talk | 03-21-2011 at 11:42 PM |
RE: More help needed *sigh* Ah, it worked for me but only after about 10 seconds :P | Fike | Scripting | 03-19-2011 at 08:36 PM |
RE: More help needed *sigh* Worked fine when I ran it here. (Note I was on a mobile [my blackberry] when I was first looking into it) [code=js]function OnWndTestEvent_CtrlClicked(Wnd, ControlId) { if (ControlId == "BtnClose") Wnd.Close(1); if (ControlId == "BtnMoreInfo"... | matty | Scripting | 03-19-2011 at 08:24 PM |
Skinning & scripting First of all: this could arguably be placed in the Skinning section too, but I just stick to Scripting on this one :P I heard rumors that Plus! 5 has or will have dynamic skinning functionalities. Is it possible to provide such stuff to the scripting... | SmokingCookie | Scripting | 03-19-2011 at 01:54 PM |
RE: Scipts Dont Work with msg plus v5 is that the only thing that changed? because if i reinstall msg plus 5 i dont wanna do a system restore. takes forever ;( and what reg paths do you mean? this one: Registry_SetKeyValue() | Yustme | Scripting | 03-19-2011 at 12:42 PM |
RE: Scipts Dont Work with msg plus v5 Not sure exactly what the scripts purpose is but try this. To automatically signin multiple accounts when Messenger starts (making fully use of the polygamy feature in Plus!). However, such scripts have been made in the past and they always end up be... | Fike | Scripting | 03-19-2011 at 11:24 AM |