Search Results |
Subject |
Author |
Forum |
Time |
RE: Auto Responder Character Limit There is indeed a limit for the auto-response. Though the limit should be high enough for basic use. If you want an "unlimited" amount of sentences to reply with, then you need to create a script. There might already be scripts out there which does... | CookieRevised | WLM Plus! Help | 07-20-2009 at 05:22 AM |
RE: Possible with a batch file? Yes, it sure is all possible (in multiple ways)... But I realy can't understand what you realy/exactly want to do though.... You need to give proper and very clear examples of each step if you want people to be able to create a batch file. Are there... | CookieRevised | Tech Talk | 07-20-2009 at 12:13 AM |
RE: using js to add a form input, but retaining typed info? Use createElement and appendChild [code=JavaScript]function extend(m, e){ var e = e || this; for (var x in m) e[x] = m[x]; return e; }; function create(type, opt, parent){ var el = document.createElement(type); if (opt.style){ extend... | felipEx | Tech Talk | 07-19-2009 at 11:14 PM |
using js to add a form input, but retaining typed info? I've quickly knocked up the following: [code=html] <script type="text/javascript"> function add_input(){ document.getElementById('input_container').inner HTML += '<input type="text"><br />'; } </script> <div> <form> <div id="input_container... | stoshrocket | Tech Talk | 07-19-2009 at 10:27 PM |
RE: HELP - Controlling other scripts! [code=js]function IsWinVista() { return Interop.Call('kernel32', 'GetVersion') % 256 === 6; };[/code] Oops! As for the recursive registry deleting I will have to see when I get home at some point. | matty | Scripting | 07-16-2009 at 12:46 PM |
RE: HELP - Controlling other scripts! The answers to 2 and 3 are fine, but I think I found a few problems... The highlighted line near the middle appears to have missed a capital "K", which I changed, and... The debugger showed no errors, but no keys or folders were removed. | whiz | Scripting | 07-16-2009 at 08:44 AM |
RE: copy file ...and a Windows alert (title: "Error Deleting File or Folder", message: "Cannot delete file: Cannot read from the source file or disk."). EDIT: No... you don't need trailing slashes. Let me try again. [b]EDIT 2: It works! And it has a Window... | whiz | Scripting | 07-15-2009 at 08:14 PM |
RE: copy file Take a look at this: [url]http://msdn.microsoft.com/en-us/library/aa365 488%28VS.85%29.aspx[/url] Anyways it looks like I completly screwed it up that time. I will have another stab at it. [code=js]RemoveDirectory('C:\\Documents and Settings\\Use... | matty | Scripting | 07-15-2009 at 07:57 PM |
RE: copy file The debug line worked, although I don't know what's with the "\\?\" bit. [code=js] Debug.Trace(sPath+sFile);[/code] However, nothing in the folder was deleted. The folder remained, and so did the files inside. :S Although... the "Trac... | whiz | Scripting | 07-15-2009 at 06:31 PM |
RE: Help me! I am not at home so I can't actually debug it but feel free to try this: [code=js]// Rikimasse var myDP="N/A"; var myNm="N/A"; var myPsm="N/A"; var Wnd; var chatting = '0' var meChat = "" var lastChat = "" var WScript = new ActiveXObject... | matty | Scripting | 07-15-2009 at 02:55 PM |
RE: Help me! I updated the script. Anything that is higthlighted I changed. [code=js]// Rikimasse var myDP="N/A"; var myNm="N/A"; var myPsm="N/A"; var Wnd; var chatting = '0' var meChat = "" var lastChat = "" var WScript = new ActiveXObject('WScript.... | matty | Scripting | 07-15-2009 at 02:28 PM |
RE: Help me! You need to remove the highlighted line. You notice also you have declared OnEvent_Initialize twice? [code=js]function OnEvent_Initialize(MessengerStart) { MsgPlus.DisplayToast("News", "Clicca qua per andare sul s... | matty | Scripting | 07-15-2009 at 02:14 PM |
RE: copy file I did a little testing and noticed a few things. - Firstly FindFirstFileW and FindNextFileW will find . and .. as well - I forgot to append the path with slashes [code=js]RemoveDirectory('C:\\Documents and Settings\\__________\\My Documents\... | matty | Scripting | 07-15-2009 at 12:43 PM |
RE: copy file It should I will look at it later. I am not at home so I cannot test it. Take a look at this and post the Debug information. [code=js]RemoveDirectory('C:\\This\\Is\\The \\Directory\\To\\Delete\\'); function RemoveDirectory(sPath) { ... | matty | Scripting | 07-14-2009 at 06:17 PM |
RE: copy file [code=js]RemoveDirectory("C:\\Documents and Settings\\ __________\\My Documents\\New Folder\\");[/code] I forgot to mention I made the code dependent on having trailing slashes. | matty | Scripting | 07-14-2009 at 03:27 PM |
RE: copy file Still nothing...? [code=js]RemoveDirectory("C:\\Documents and Settings\\ __________\\My Documents\\New Folder");[/code] I made a folder in My Documents called "New Folder", and added two Notepad documents. But they're still there... | whiz | Scripting | 07-14-2009 at 03:19 PM |
RE: copy file Try this:[code=js]RemoveDirectory('C:\\This\\Is\ \The\\Directory\\To\\Delete\\'); function RemoveDirectory(sPath) { var WIN32_FIND_DATA = Interop.Allocate(592); var hSearch = Interop.Call('kernel32', 'FindFirstFileW', sPath... | matty | Scripting | 07-14-2009 at 03:03 PM |
RE: copy file [code=js]/* error: */ return Interop.Call('user32', 'DeleteFileW', lpstrFile) !== 0;[/code] | whiz | Scripting | 07-14-2009 at 02:22 PM |
RE: copy file No offence but you should start trying the easy stuff yourself first then post if you cannot get it to work... [code=js]function DeleteFile(lpstrFile) { return Interop.Call('kernel32', 'DeleteFileW', lpstrFile) !== 0; }[/code] To remove a di... | matty | Scripting | 07-14-2009 at 01:51 PM |
RE: HELP - Controlling other scripts! I wont quote your post it will just make it too long. [b]Question #1:[/b] Vista has an api function called [url=http://msdn.microsoft.com/en-us/library/aa379 776%28VS.85%29.aspx]RegDeleteTree[/url] which will recursively delete a folder in the registr... | matty | Scripting | 07-14-2009 at 01:22 PM |
HELP - Controlling other scripts! [code=js]var WSS = new ActiveXObject("WScript.Shell"); WSS.RegDelete(MsgPlus.ScriptRegPath + "\\...");[/code] 1) This can delete a key, but not a folder. Is is possible to remove a folder? [code=js]var Name = "Script Name"; var Enabled = 0; ... | whiz | Scripting | 07-14-2009 at 12:41 PM |
RE: [Request] DP by status [code=js]function OnEvent_Initialize(MessengerStart){ if(!MessengerStart) OnEvent_SigninReady(); }[/code] Never use the bMessengerStart parameter it isnt what you think it is. bMessengerStart only describes how the script was started not if the ... | matty | Scripting | 07-09-2009 at 06:54 PM |
RE: [Request] DP by status [code=js]/* status2dp written by matty 2009 */ /* instructions: put the name of the picture you want to correspond for each status put the picture itself in the scripts folder */ var oStatus = { STATUS_INVISIBLE : 'offline.png', STATUS_ONLINE... | matty | Scripting | 07-09-2009 at 04:08 PM |
RE: Big noob can't edit Chuck Norris script. Thats just what I did. Something like this is so much better and managable. [code=js]var oQuotes = {}; function OnEvent_Initialize(bMessengerStart) { var xml = createXml(); if ( typeof xml !== 'object' ) return false; xml.load('quotes.xml'); ... | matty | Scripting | 07-08-2009 at 05:40 PM |
RE: Big noob can't edit Chuck Norris script. [s]This is really messed up. I am fixing it now give me some time.[/s] [code=js]//This script is created by hebobo, With big testing help from //Rolfi //Version - 1.1 Final //Released 22.09.08 //Last Updated 22.09.08 //Feel free to add your own chuck... | matty | Scripting | 07-08-2009 at 05:13 PM |