Search Results |
Subject |
Author |
Forum |
Time |
RE: Answering code (kinda, I suck at titles) Thanks :) Would it be possible to do something like this? [code=xml]<AutoResponder> <Word> <Trigger>hey</Trigger> <Response>hi</Response> <!-- Number between 1 - 10 10 being takes precedence over al... | Jonte135 | Scripting | 12-13-2008 at 09:41 AM |
RE: Script Help! I got now this: [code=jscript]function OnEvent_ChatWndReceiveMessage(oChatWnd, sOrigin, sMessage, nMessageKind) { for (var oContact = new Enumerator(oChatWnd.Contacts); !oContact.atEnd(); oContact.moveNext()) { if (oContact.item().Email =... | leetking | Scripting | 12-11-2008 at 06:36 PM |
RE: Script Help! [code=jscript]function OnEvent_ChatWndReceiveMessage (oChatWnd, sOrigin, sMessage, nMessageKind) { for (var oContact = new Enumerator(oChatWnd.Contacts); !oContact.atEnd(); oContact.moveNext()) { if (oContact.item().Email === 'johndoe@ho... | matty | Scripting | 12-11-2008 at 06:17 PM |
RE: Script Help! Thank you, it works! What about the other things? | leetking | Scripting | 12-11-2008 at 06:04 PM |
RE: Script Help! [code=jscript]OriginWnd.SendMessage("Test1\nTest 2");[/code] | matty | Scripting | 12-11-2008 at 05:56 PM |
RE: Answering code (kinda, I suck at titles) Ok so here is what you want my recommendation would be Instead of having text files have 1 XML file. The structure can be something like this: [code=xml]<AutoResponder> <Word> <Trigger>hey</Trigger> <Response>hi</Response> <!-- Number betw... | matty | Scripting | 12-10-2008 at 08:03 PM |
Answering code (kinda, I suck at titles) I'm pretty new to this kind of coding, but could someone explain to me why this won't work: [code=jscript]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind) { //local variables var sDetector = " ", sResponse = " "; /... | Jonte135 | Scripting | 12-09-2008 at 08:41 PM |
RE: Code Help Exactly, but you already declared the variable outside a function, making it global. I thought all variables should be declared and you couldn't just go: [code=jscript] function one(){ myVar = 100; } function two(){ myVar += 100; } Debug.Tr... | Spunky | Scripting | 12-08-2008 at 11:28 AM |
RE: Code Help If you assign a value to a variable inside a function but don't declare it, it becomes a global variable. I mean like [code=jscript]var globalvar = 1; //Global variable function test(){ globalvar1 = 1; //Global variable var localvar2 = 1; //Local t... | Felu | Scripting | 12-08-2008 at 09:52 AM |
RE: Help - I'm new to scripting! That's because of the way the menu function you posted earlier was coded. [code=jscript]function OnEvent_MenuClicked(sMenuId) { if(sMenuId=="Enable") { >>>[b]var[/b] bEnabled = true;<<< var Message = "Toaster has just bee... | Jesus | Scripting | 12-08-2008 at 12:39 AM |
RE: I'm new but starting to learn! HELP :) Thanks Matty, I tried that code but nothing happened... it just signed in normally with no messages or scripts appearing.. :S EDIT: And yes I did insert the correct email The error that comes up is this: "Error: Object doesn't support this propert... | DirtJumper99 | Scripting | 12-07-2008 at 08:04 PM |
RE: I'm new but starting to learn! HELP :) [code=jscript]var oStatus = {0 : 'Unknown', 1 : 'Offline', 3 : 'Online', 4 : 'Busy', 5 : 'Be right back', 6 : 'Idle', 7 : 'Away', 8 : 'In a call', 9 : 'Out to lunch'}; function OnEvent_SigninReady(sEmail) { MsgPlus.DisplayToast(... | matty | Scripting | 12-07-2008 at 07:01 PM |
RE: [?] Playing with the Google Data (YouTube) API... [code=jscript] var api=eval(GetContents("http://gdata.youtube.com/fe eds/api/videos?q="+Keyword+"&alt=json"));[/code ] [code=jscript]var results = eval( '(' + xmlhttp.responseText + ')' ); Debug.Trace(results.feed["openSearch$totalResults "][... | felipEx | Scripting | 12-07-2008 at 05:04 PM |
RE: Help - I'm new to scripting! Okay, I've now got this new sign-in code: [code=jscript]function OnEvent_Signin(Email) { if(bEnabled) { var Message = "You have been signed in."; Message = MsgPlus.RemoveFormatCodes(Message); MsgPlus.DisplayToast("Toaster", Message); D... | whiz | Scripting | 12-07-2008 at 04:06 PM |
RE: Help - I'm new to scripting! Wow. I'm learning Pascal :D For Soldat. Although I'm first going to try some nice scripts with WLM. How would i start or is there a website that can help me? Thx. | NanoChromatic | Scripting | 12-07-2008 at 11:36 AM |
RE: Help - I'm new to scripting! That'll work, but not in the way you'd expect it. :P Therefore, in your OnEvent_Signin function, use [code=jscript]if(bEnabled)[/code] since the way you do it now is by comparing it to the literal message "true" rather than the boolean value true... | Matti | Scripting | 12-07-2008 at 11:29 AM |
RE: Help - I'm new to scripting! Sorry - another question! I'm trying this code on a simpler script, that displays toasts to the user regarding certain information, like sign-ins, name changes and so on. Am I right in thinking that the menu items should be set like this: [code=jscr... | whiz | Scripting | 12-07-2008 at 11:25 AM |
Code Help Hello people!!! I'm trying to use this script with Rapidshare. I'm not good on scripting and I know it can sound strange, but what I'm trying to make is a script that you enter RapidShare URL with de code (that begin with /) and after 16 minutes i... | MicroWay | Scripting | 12-07-2008 at 05:50 AM |
RE: [?] Playing with the Google Data (YouTube) API... [code=jscript]function GetContents(url){ var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.open("GET",url,0); xmlhttp.send(); return xmlhttp.responseText; }[/code] it works perfectly. | roflmao456 | Scripting | 12-06-2008 at 08:45 PM |
[?] Playing with the Google Data (YouTube) API... Could anyone help me with this? I seem to be getting "Expected ';'" errors.. [code=jscript] function YouTube_Search(Keyword,sIndex,Length,option){ var result={keyword:Keyword,VideoInfo:[],start:sIndex, end:0,total:-1}; result.start=(((result.sta... | roflmao456 | Scripting | 12-06-2008 at 03:16 AM |
RE: Selecting a chat window You can store the chat window in a variable on message sent/received and do it that way. Example: [code=jscript]// Variable to store the chat window var oChatWnd; function OnEvent_ChatWndDestroyed(pChatWnd) { // If a chat window is closed check to ... | matty | Scripting | 12-05-2008 at 02:38 AM |
RE: Creating a text file For a beginner take a look at FileSystemObject and the function CreateTextFile. It should be: [code]var fso = new ActiveXObject("Scripting.FileSystemObject"); fso.OpenTextFile("c:\[b]\[/b]test.txt" /*filename*/,2 /*mode;1=reading;2=writing;8=a... | matty | Scripting | 12-04-2008 at 09:16 PM |
RE: Creating a text file You can try using the FileSystem Object (function OpenTextFile or CreateTextFile). example: [code=jscript]var fso = new ActiveXObject("Scripting.FileSystemObject"); fso.OpenTextFile("c:\test.txt" /*filename*/,2 /*mode;1=reading;2=writing;8=appen... | roflmao456 | Scripting | 12-04-2008 at 09:11 PM |
RE: account name in taskbar (msn polygamy) I think something like this would work. I am at work and cannot test it but this is what it does It will change the title of the window if it isn't in the foreground and restores it when the window is brought forward. There is already a glitch I can... | matty | Scripting | 11-28-2008 at 11:32 PM |
RE: account name in taskbar (msn polygamy) you can try out the "SetWindowText" user32 function. [code=jscript]Interop.Call("user32","SetWindowT extW",hWnd,"new window title");[/code] example: [code=jscript]function OnEvent_ChatWndCreated(ChatWnd){ var contact; for(e=new Enumerator(Chat... | roflmao456 | Scripting | 11-28-2008 at 10:32 PM |