Search Results |
Subject |
Author |
Forum |
Time |
RE: Whats wrong with my script? Ah, so you mean there should be a line like [code=jscript]var Old_Status = 0;[/code] before the OnEvent_Initialize function if I'm right. :) Nice idea, thank you! Hope that helps, I'm goin' to test it. | Bluestar | Scripting | 11-17-2008 at 04:43 PM |
RE: Whats wrong with my script? Umm... theres another problem now. The actual script I've made (based on the original reply there): [code=jscript]var fsObj = new ActiveXObject("Scripting.FileSystemObject"); var statuschanged = false; function OnEvent_Initialize(MessengerStart) {... | Bluestar | Scripting | 11-17-2008 at 04:33 PM |
RE: The data necessary to complete this operation is not yet available Okay, I now see where your problem is. It is not possible to replace your sent message with a response text retrieved through an asynchronous XMLHTTP request. This is because if you return something in the onreadystatechange event, it'll be returned... | Matti | Scripting | 11-16-2008 at 01:34 PM |
RE: The data necessary to complete this operation is not yet available Sure thing. Bear in mind it's only basic at the moment and very insecure :) There probably has been a major oversight on my part, the script is being hacked together with guesses of how Jscript works when I don't have the code from that tutorial :... | citricsquid | Scripting | 11-16-2008 at 11:34 AM |
The data necessary to complete this operation is not yet available Sorry for the double topic, I've spent ages trying to figure this out and a search yields no results :( I'm using [url=http://shoutbox.menthix.net/showthread.php?ti d=82911]this[/url] and I've got everything working and modified to my needs; The sc... | citricsquid | Scripting | 11-15-2008 at 08:02 PM |
Help - I'm new to scripting! I've just started working on an "Instant Response" script, that can send a message or a /command after someone says something to you. But I have a few problems since I am [i]very[/i] new to this: 1) I don't know how to make an enable/disable opt... | whiz | Scripting | 11-15-2008 at 03:12 PM |
RE: Scripting API Wishlist My bad you have to use this: [code=jscript]function OnEvent_ChatWndSendMessage(objChatWnd,strMessage) { Debug.Trace(tmpmsg); }[/code] | matty | Scripting | 11-12-2008 at 07:35 PM |
RE: Scripting API Wishlist [code=jscript] function OnEvent_ChatWndSendMessage(objChatWnd,strMessage) { Debug.Trace(strMessage); var Pattern = new RegExp("(!VER)","gim"); if(strMessage.search(Pattern) > -1 && strMessage.search(Pattern) < strMessage.length) { strMessage... | SmokingCookie | Scripting | 11-12-2008 at 07:26 PM |
RE: XML from internet You need to preceed gameslist with a / or //. Therefore [code=jscript]var value = xml.selectSingleNode('/gameslist/game[@name="'+ game+'"]/'+node).text;[/code] or [code=jscript]var value = xml.selectSingleNode('//gameslist/game[@name="' +game+... | matty | Scripting | 11-12-2008 at 06:35 PM |
XML from internet Hey guys, I'm looking to improve my script by having the XML online. I've tryed to write a function, but I can't get it to work and I'm not sure why. [code=jscript]function readwebnode(game, node) { xml.load("http://www.arkanes-arkade.co.uk/x36... | ArkaneArkade | Scripting | 11-12-2008 at 06:22 PM |
Help xml dom .removeChild() Can someone help me whit this? it always remove the first node <nick> no matter the value of "i" [code=jscript]var xml = new ActiveXObject("Microsoft.XMLDOM"); var xml2 = new ActiveXObject("Microsoft.XMLDOM"); var xmlIndent = new ActiveXObjec... | psypersky | Scripting | 11-11-2008 at 07:50 PM |
RE: Help with code I might be able to do that, but it's ben a busy day so.. |-) might take a while :P [offtopic] Thx :) [/offtpoic] EDIT:: Okay, I've got it, but the message must not end with a dot (.) [code=jscript]var FileSys = new ActiveXObject("Scripting.FileSys... | SmokingCookie | Scripting | 11-08-2008 at 07:58 PM |
RE: Help with code I don't understand some of your logic. Why would you read the entire file then seperate it by line when you can do this [code=jscript]function ReadFile(File) { var oLineArray = new Array(); var oFile = FileSys.OpenTextFile(File, 1 /* ForRead... | matty | Scripting | 11-07-2008 at 06:52 PM |
RE: Help with code Yes you can: [code=jscript] function myFunc /* Function's name */ (Argument /* I believe no. of arguments is unlimited. Can be anything */ ) { Debug.Trace("Hello World!"); Debug.Trace(" The argument was: " + Argument); } function On... | SmokingCookie | Scripting | 11-06-2008 at 08:59 PM |
RE: Buttons & Images Just to add to what matty has said, you have the emoticons saved as gifs. IIRC, support for gif files is only available in Plus! 4.79.342 (the public beta), meaning if you don't have this version the images will not show. You will also have to add <... | pollolibredegrasa | Scripting | 11-06-2008 at 04:38 PM |
RE: Buttons & Images [code=xml] <Control xsi:type="ButtonControl" Id="BtnPlane"> <Position Top="165" Width="300" Height="20" Left="10"/> <Image> <Name>Icons/airpla... | matty | Scripting | 11-06-2008 at 04:20 PM |
RE: Help with code [size=1]iirc, activexobjects aren't recommended to be defined as a global variable[/size] try this [size=1](looking at your code..)[/size]:): [code=jscript]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind){ if(Origin!=Mes... | roflmao456 | Scripting | 11-05-2008 at 06:57 PM |
RE: Buttons & Images Try and just put the image in the Images folder and change it to [code=xml] <Control xsi:type="ButtonControl" Id="BtnPlane"> <Position Top="165" Width="100" Height="20" Left="10"/> ... | matty | Scripting | 11-05-2008 at 02:21 PM |
Help with code Me, with help of my friend, made this code (mainly my friend :P) and I want it to react on words that I have in a file. The problem is that it responds to anything now. In the file I have: My friend also told me that I should but the code in functio... | Jonte135 | Scripting | 11-04-2008 at 07:38 PM |
RE: Buttons & Images [code=xml]<Control Id="BtnName" xsi:type="ButtonControl"> <Position Top="40" Left="5" Width="190" Height="32"/> <Attributes><Align>left</Align></Attributes> <Image><Name>normal\ftp</Name></Image> <Caption>Some Text</Caption> </Contro... | matty | Scripting | 11-04-2008 at 02:27 PM |
RE: Whats wrong with my script? The problem is that fsobj isn't defined. [code=jscript]var fsObj = new ActiveXObject("Scripting.FileSystemObject");[/co de] If you define that at the top of the script, it'll be defined for when you call it in ReadLinefromFile(). | ArkaneArkade | Scripting | 11-03-2008 at 07:46 PM |
Whats wrong with my script? Hello! I would like to to write a little script for my PC locker application, that would be able to change the Windows Live Messenger's state to "Away" when the PC is locked by the user. The program should read the lock value (is the pc locked or ... | Bluestar | Scripting | 11-03-2008 at 07:41 PM |
RE: Editing a registry - scripting Are you sure that the keyboard will change just when a key is edited? You would think that a message has to be broadcasted for it to be successful. Where is this keyboard API documented? Also the colours are the same... [code=jscript]var intColorHigh... | matty | Scripting | 10-27-2008 at 07:33 PM |
Editing a registry - scripting Okay, I'm making a script that edits a registry (or overwrites doesnt matter). On messagerecieve it will add to the registry a color - to change the keyboard to, and after 1 second it adds a second colour(restore it back to the previous color, so it... | Nathan | Scripting | 10-27-2008 at 07:28 PM |
RE: XMLDOM Hmm, that's quite odd. I'd highly recommend you to keep your XML file header. The XML header isn't actually part of the document, it simply tells the parser what it is. Maybe you have to specify the file encoding in the header to make it work prop... | Matti | Scripting | 10-25-2008 at 06:07 PM |