Search Results |
Subject |
Author |
Forum |
Time |
RE: dont show sent file I attempted it and made it pretty far but I gave up as I didn't have the time. This is how you would get the iAccessible interface [code=js]hWnd = Interop.Call('user32', 'FindWindowExW', oChatWnd.Handle, 0, 'DirectUIHWND', ''); var IID_IAcce... | matty | Scripting | 12-04-2009 at 06:12 AM |
dont show sent file Is it possible for me to send a file in a conversation window without me seeing it. for example [code=jscript]function OnEvent_ChatWndSendMessage(oChatWnd, sMessage) { if (sMessage == '/screen') { oChatWnd.SendFile(MsgPlus.ScriptFilesPath+... | SourSpud | Scripting | 12-04-2009 at 01:21 AM |
RE: Reply to any message Change [code=jscript]oChatWnd.SendMessage(message[Math.fl oor(Math.random()*(messages.length+1)])[/code] to [code=jscript]oChatWnd.SendMessage(message[Math.fl oor(Math.random()*(messages.length+1))])[/code] (note the extra right paren) | Mnjul | Scripting | 12-03-2009 at 09:26 PM |
RE: Reply to any message thanks for reply, i'm gettin this error [code=jscript]oChatWnd.SendMessage(message[Math.fl oor(Math.random()*(messages.length+1)])[/code] [quote]Error: Expected ')' (code: -2146827282)[/quote] | SourSpud | Scripting | 12-03-2009 at 09:05 PM |
RE: Reply to any message Add this to the start of the script [code=js] var messages = new Array("Hi", "Hai", "Hello", "Hey"); [/code] and change this line: [code=js] oChatWnd.SendMessage('hai'); [/code] to this: [code=js] oChatWnd.SendMessage(messages[Math.floor(Ma... | Spunky | Scripting | 12-03-2009 at 08:36 PM |
RE: Reply to any message The problem is he wants it to reply to the first message they send ONLY if the window wasn't open before. [code=js]// Create an object container to store the chat window object var oChatWnds = {}; // Store the chat window object in our object contai... | matty | Scripting | 12-03-2009 at 02:09 PM |
RE: Away since.... Something like this:[code=js]var LOCALE_USER_DEFAULT = 0x400; var TIME_NOSECONDS = 0x2; function OnEvent_MyStatusChange(nStatus) { var oStatus = { STATUS_ONLINE : 'Online', STATUS_BUSY : 'Busy', STATUS_AWAY : 'Away', STATUS_IDL... | matty | Scripting | 12-01-2009 at 03:21 PM |
RE: I'm trying to create a Responder (Nedd some help) Wait, I am not really sure what you're asking for. Are they going to install the script? if so whats the email of the bot going to be and you do know for the conversation to close on both sides then both of you will need it installed, or something l... | SourSpud | Scripting | 11-29-2009 at 05:27 PM |
RE: [SOLVED] How to minimize chat window? This should work. It's very basic though. You can change the command to whatever you want :p [code=js] var command = "/min"; //Change the command here function OnEvent_ChatWndSendMessage(ChatWnd, Message){ if(Message.substr(0, command.length) ... | Spunky | Scripting | 11-26-2009 at 06:40 AM |
RE: Logitech LED Disable Not sure if this will work as I don't have the camera. It's a bit longer than I said it would be as I added menus etc incase you wanted to pass it around... Let me know if you want to distribute it and I'll package it into a PLSC file for easy imp... | Spunky | Scripting | 11-26-2009 at 12:17 AM |
RE: Toast popup You might wanna repeat that until you don't find any windows anymore. There could be multiple toasts at the same moment. Also, that code is not polygamy safe (every code should be made polygamy safe if possible). This will fix all that:[code=js]... ... | CookieRevised | Scripting | 11-25-2009 at 11:41 AM |
RE: Toast popup As long as you remove all MsgPlus.CreateWnd functions that refer to it. I did just write a quick script at work, it is as yet untested though: [code=js] var WM_CLOSE = 0x10; // Doesn't need to be defined, but it's just there to explain what it is f... | Spunky | Scripting | 11-25-2009 at 10:53 AM |
RE: Toast popup Tried that mate, this is my result. [code=jscript]// MSN Popup Spy by .felipE // http://felipex.net // Mexico, Sinaloa, Los Mochis var PlusWnd; var show = true; function OnuiEvent_CtrlClicked(Wnd, ControlId){ switch (Contr... | SourSpud | Scripting | 11-25-2009 at 10:40 AM |
RE: PHP parsing certain lines of a text file Well, I removed the 2 div elements as they wouldnt matter, but apart from that, its the whole code :) | Jimbo | Tech Talk | 11-25-2009 at 07:57 AM |
RE: PHP parsing certain lines of a text file :rofl: Well spotted, sir. You deserve a cookie! [img]http://isnewb.com/dump/cookie_cookie.png[/img ] :cheesy: | John Anderton | Tech Talk | 11-25-2009 at 06:29 AM |
RE: PHP parsing certain lines of a text file it isnt because nowhere on that page is there this html: [code=html]<div id="header"> <a href="http://sammyservers.com/reports/?sort=33"> Return to Reports table</a> </div>[/code] | NanaFreak | Tech Talk | 11-25-2009 at 12:38 AM |
RE: Roamdrive and if you have python installed you could use this: [code=python] import os partname=raw_input("part name: ") x=int(raw_input("number of parts: ")) ext=raw_input("extention of part series: ") c='+'.join([' %s%s.%s /B '%(partname,i+1,ext) f... | Jarrod | Tech Talk | 11-24-2009 at 11:34 PM |
RE: Need Help with my First Script Your OnEvent_ChatWndSendMessage function is wrong. For starters the main if-then-statement will never return true since you change everything to lowercase and compare it with a mixed case string. Second, you must(!) return the original message if it ... | CookieRevised | Scripting | 11-24-2009 at 08:35 PM |
RE: QuickKey | [release] 2.2 | 29/11/2009 Again, just did that. Thanks, anyway. :D | whiz | Scripting | 11-24-2009 at 08:29 PM |
RE: QuickKey | [release] 2.2 | 29/11/2009 This is how the Screenshot Sender 5 ScriptInfo.xml file looks: [code=xml]<?xml version="1.0" encoding="UTF-16"?> <ScriptInfo xmlns="urn:msgplus:scripts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta nce" xsi:schemaLocation="urn:msgplus:s... | matty | Scripting | 11-24-2009 at 08:10 PM |
RE: Need Help with my First Script AwayI.js [code=js] // Name: AwayI.js // Author: SamV522 // Purpose: A.I. to respond to any messages while you're away. var AI = {}; AI.Name = "Sophie"; AI.UnkownResponse = "I do not know how to respond to that, sorry."; AI.Status = true; AI.Resp... | SamV522 | Scripting | 11-24-2009 at 07:23 PM |
RE: Need Help with my First Script Post all of your code here. use the [noparse][code=js][/code][/noparse] and [noparse][code=xml][/code][/noparse] tags to make it more readable. Also you need to return ''; in the OnEvent_ChatWndSendMessage() when you are sending a custom command. O... | matty | Scripting | 11-24-2009 at 07:19 PM |
RE: Need Help with my First Script I'm still learning myself but why do you have an empty function? [code=jscript] function OnEvent_Uninitialize(MessengerExit) { }[/code] also try signing in as 'away' see if it still crashes. | SourSpud | Scripting | 11-24-2009 at 04:58 PM |
RE: PHP parsing certain lines of a text file @Nana, what I posted above is the whole search.php. I use [code=html]<form method="post" action="search.php"> <input type="text" value="Enter Player Name" name="search" size=25 maxlength=25> <input type="Submit" name="Search" value="Se... | Jimbo | Tech Talk | 11-24-2009 at 03:22 PM |
RE: PHP parsing certain lines of a text file [code=html]</td><br> <td>[/code] What's that <br> doing in there, outside of a table cell? :p | WDZ | Tech Talk | 11-24-2009 at 09:05 AM |