Search Results |
Subject |
Author |
Forum |
Time |
RE: XMLDOM [code=jscript]var node = xml.selectNodes("game[@name='FIFA06']/title"); [/code] This would assume that the "game" node is at the root of your document, but it isn't. There are a few ways to do this in the correct way:[code=jscript]var node = xm... | Matti | Scripting | 10-25-2008 at 09:08 AM |
XMLDOM Hey folks, I'm trying to sort a script out, to read data from an XML file (Just read... don't think writing is necessary... at least not yet), but I just keep running into problems with it. I've searched all over the forums, and read the scripting... | ArkaneArkade | Scripting | 10-25-2008 at 05:32 AM |
RE: ReadInterfacePtr() - Crashes Windows Live Messenger I apologize for the lack of answers I gave you regarding this matter in the past. Proof that I should have done so before: it was a bug that prevented you from using this function properly. Your code is correct, the bug was fixed in build 341. Have f... | Patchou | Scripting | 10-19-2008 at 06:08 PM |
RE: Trouble creating a DLL that works in Plus :-/ the documentation says you must use __stdcall calling convention. [quote] [b]FunctionName[/b] [string] Name of the function as specified in the export table of the library. The function must use the [url=http://msdn.microsoft.com/en-us/library/z... | Mnjul | Scripting | 10-13-2008 at 11:24 AM |
RE: Trouble creating a DLL that works in Plus [code=jscript]Interop.Call("User32", "SystemParametersInfoW", SPI_GETWORKAREA, 0, rc, 0);[/code] | davidpolitis | Scripting | 10-13-2008 at 10:18 AM |
RE: Trouble creating a DLL that works in Plus Well, you don't need a special DLL to achieve this. :D [code=jscript]var rc = Interop.Allocate(16); Interop.Call("user32", "GetWindowRect", Interop.Call("user32", "GetDesktopWindow"), rc); Debug.Trace("screen resolution: " + rc.ReadDWORD(8... | felipEx | Scripting | 10-12-2008 at 11:40 PM |
RE: Trouble creating a DLL that works in Plus I had to use: [code=c]__declspec(dllexport) int GetScreenSize(int avar)[/code] [code=jscript] Debug.Trace(Interop.Call(MsgPlus.Sc riptFilesPath + "\\test.dll", "GetScreenSize", 16 /* or any value*/ )) Interop.FreeDll(MsgPlus.ScriptFilesPath + ... | felipEx | Scripting | 10-12-2008 at 11:13 PM |
Trouble creating a DLL that works in Plus I've spent quite some time trying to get a DLL file to work by using the Interop.Call function, but it just won't accept it. Here's what I have so far. [code=c] #include "stdafx.h" #ifdef __cplusplus // If used by C++ code, extern "C" { ... | a0369 | Scripting | 10-12-2008 at 08:18 PM |
ReadInterfacePtr() - Crashes Windows Live Messenger Patchou, It is time we are told how this works so that we cannot keep crashing WLM with it :) [code=jscript]var hWnd = Interop.Call('user32', 'FindWindowExW', Messenger.ContactListWndHandle, 0, 'Main Window Class', ''); hWnd = Interop.Call('... | matty | Scripting | 10-12-2008 at 07:48 PM |
RE: Who Can Make Me ... lol....just proves that shorter doesn't necessarily mean better /me waits for the innuendo police to arrive | djdannyp | Scripting | 10-09-2008 at 10:14 PM |
RE: Who Can Make Me ... /me bumps in.. /me looks at regexp [code=jscript]function OnEvent_ChatWndSendMessage(ChatWnd, Message){ return Message.replace(/\b(\w)/g, function($1){return $1.toUpperCase()}); }[/code] /me runs :P [size=1]although, it breaks the ^o) emoticon so... | roflmao456 | Scripting | 10-09-2008 at 09:52 PM |
RE: Who Can Make Me ... [code=jscript] msg = msg.split(" ") for(var s in msg){ msg[s] = msg[s].substr(0,1).toUpper() + msg[s].substr(1) } return msg.join(" ") [/code] [s]You'd need to add checking for commands etc...[/s] Probably not actually as they're case insen... | Spunky | Scripting | 10-08-2008 at 10:46 AM |
RE: Who Can Make Me ... Does this work? EDIT: used SLM's code below. [code=jscript]function OnEvent_ChatWndSendMessage(ChatWnd, Message) { Msg = Message.split(" "); for(var s in Msg) { Msg[s] = Msg[s].substr(0,1).toUpper() + Msg[s].substr(1); } return Msg.join(" ... | davidpolitis | Scripting | 10-08-2008 at 10:28 AM |
RE: Who Can Make Me ... agreed [edit more python [code=python] a = "hello world this is the most annoying python code ever" b = 0 d = 0 c = "" e = "" a = raw_input("text here") for letter in a: if d == 0: c = c + letter.upper() d = d + 1 ... | Jarrod | Scripting | 10-07-2008 at 11:51 PM |
RE: Radio buttons in SKin options You could just put in a MultiVal instead, it does more or less the same thing: [code=xml]<MultiVal Name="FormatBarAlign"> <DispLabel>MultiVal</DispLabel> <DispHelp>Description/DispHelp> <Values> <Value DispLabel="Option 1">option1</Value> ... | ryxdp | Skinning | 08-24-2008 at 01:07 AM |
Auto-Update for Skins & Scripts FAQ
| Menthix | WLM Plus! General | 08-06-2008 at 12:10 AM |
RE: [code][/code] suggestion Simple implemention of [url=http://qbnz.com/highlighter/]GeSHi[/url] would be suffice. [url=http://img514.imageshack.us/img514/1804/codet k6.jpg][img=640x417]http://img514.imageshack.us/im g514/1804/codetk6.jpg[/img][/url] [hr] For instance you could ... | matty | Forum & Website | 07-26-2008 at 03:47 PM |
RE: [Release] Countdown Live (Latest: 2.2.021) Uhh.. I'm afraid I have another bug..[s] Screenshot on its way..[/s] Screenshot: [URL=http://img49.imageshack.us/my.php?image=scree nus7.jpg][IMG]http://img49.imageshack.us/img49/387 8/screenus7.th.jpg[/IMG][/URL] And I have MsgPlus 4.60.[b]326[/b] by... | SmokingCookie | Scripting | 07-15-2008 at 06:25 PM |
RE: Visual Basic .NET: Deleting a Registry Value failed Thanks, it works perfectly now. I did originally have an Else in there, but I don't know why I removed it... Anyway here is the full working code for anyone else stuck on this (doubtful, but who knows :P) [code=vbnet] Private Sub TrayIcon_DoubleC... | ryxdp | Tech Talk | 07-13-2008 at 05:11 AM |
RE: Visual Basic .NET: Deleting a Registry Value failed It still thinks the value doesn't exist. I must have missed something in the code you gave me, Cookie. Here is the full Sub: [code=vbnet] Private Sub NotifyIcon1_DoubleClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Tray... | ryxdp | Tech Talk | 07-13-2008 at 12:26 AM |
Visual Basic .NET: Deleting a Registry Value failed This is what I've got: [code=vbnet]My.Computer.Registry.CurrentUser.Delet eValue("HKEY_CURRENT_USER\Control Panel\Desktop\testingval\")[/code] But it's telling me the value doesn't exist, when it clearly does. Why is this? I've tried strippi... | ryxdp | Tech Talk | 07-12-2008 at 08:21 AM |
RE: Falling Sand Game batch file So how come it's working in firefox? EDIT: /me goes to look in the page source EDIT 2: Source says PyroSandMain2, which is a class in the jar (I looked in there, but having no knowledge of java...). [code=html]<p> <applet code="PyroSandMain2" ... | ryxdp | Tech Talk | 12-08-2007 at 12:00 AM |
RE: VB and Network cards' IP Thanks(Y) The Planet Source Code one works great, but I'd like to make the signal indicators the same sort of style as the network connections thing in the Control panel (see attachment). As I said, I don't know a lot about VB, so thanks in advance... | ryxdp | Tech Talk | 02-05-2007 at 05:53 AM |
RE: Restart script through code [size=3][u][b][color=red]First of all a very important note in regards to script updating[/color][/b][/u][/size] You should [u]not[/u] be using the method explained below (or any other method to restart a script for that matter) to clean up old depre... | CookieRevised | Scripting | 09-23-2006 at 05:24 PM |
RE: [Release] Programming Language Keywords Script You misunderstood both my suggestions. :P You should set the default, non-highlighted text to black, eg variable names etc. And the [n] tag, you should make it so the n tag shows what you have entered, so if I put in an n tag, my contacts will see ... | alexp2_ad | Scripting | 07-10-2006 at 09:40 PM |