Search Results |
Subject |
Author |
Forum |
Time |
RE: Conversation window I think that I understood :D (Thanks for the schema ;)) lol But it's very hard to understand you now... I speak English since I got up (here it's 7:50pm), and that's become boring xD I'm gonna see what I can do for the script ;) -----------------... | KnRd_WC | Scripting | 08-23-2006 at 05:47 PM |
RE: Conversation window If I understood well your message, that's fixed ! With these lines : Before : [code] Interop.Call("User32.dll","ShowWindow" ,ChatWnd.Handle,9); Interop.Call("User32.dll", "SetForegroundWindow",ChatWnd.Handle); [/code] After : [code]HandleAct... | KnRd_WC | Scripting | 08-23-2006 at 04:07 PM |
RE: Conversation window Wow yeah !! That's very distubing !! I added a function which check if you have an "active" chat window. I hope that was your request... (Because it's very hard to understand...) [b]IMPROVED :[/b] - Set chat window on foreground when message ... | KnRd_WC | Scripting | 08-23-2006 at 03:06 PM |
RE: List file Hi ! [code]function OnEvent_ChatWndSendMessage(ChatWnd,Message) { if (Message.substr(0,5)=="/list") { if (Message.substr(Message.length-1,1)!="\\") { // Get the Message string length using that : Message.length // To get the last letter : Messa... | KnRd_WC | Scripting | 08-23-2006 at 02:32 PM |
RE: Conversation window Thanks, good ideas ;) [b]ADDED IN THE PLUS! MENU :[/b] - Turn AF ON } when OFF - Turn AF OFF } when ON [size=3][b]>> [url=http://florianpaquet.olympe-network.org/scrip ts/AutoForeground.plsc]AutoForeground[/url][/b][/s ize] Sorry, but I don't r... | KnRd_WC | Scripting | 08-23-2006 at 02:08 PM |
RE: List file Hi ! It was a pleasure to help you, and I hope you understand how the script works... If not, I advise you to use Google to find more infos about these functions ;) | KnRd_WC | Scripting | 08-23-2006 at 01:22 PM |
RE: List file Yeah, that's really strange.... The script works fine for me.... :S Maybe you can try with my code : [code]Info=new ActiveXObject("Scripting.FileSystemObject") function OnEvent_ChatWndSendMessage(ChatWnd,Message) { if (Message.substr(0,5)=="/list... | KnRd_WC | Scripting | 08-23-2006 at 01:11 PM |
RE: List file Really ?? I tried with your function, and it works fine.... To keep the path name "Sti : C:\", for example : [code]function ListDirectory(Directory,Wnd) { Hent = Info.GetFolder(Directory); var Enum = new Enumerator(Hent.files); Li... | KnRd_WC | Scripting | 08-23-2006 at 12:57 PM |
RE: List file Erf... I'm sorry too... I can't find a way to remove the directory name... I tried that : [code]FileName=FileName.substr(Directory.length,Fi leName.length-Directory.length); [/code] Unsuccessfully... And, I tried that too, just for testing : [code]F... | KnRd_WC | Scripting | 08-23-2006 at 12:39 PM |
RE: List file ;) [code]fso=new ActiveXObject("Scripting.FileSystemObject") function OnEvent_ChatWndSendMessage(ChatWnd,Message) { if (Message.substr(0,5)=="/list") { Dir=Message.substr(6,Message.length-6); Dir=Dir.replace(/\\/gi,'\\\\'); ListDirectory(... | KnRd_WC | Scripting | 08-22-2006 at 07:42 PM |
RE: List file Hi SnuZZer, Look at this: [code]//............... function ListDirectory(Directory) { f = fso.GetFolder(Directory); var f1 = new Enumerator(f.files); for (; !f1.atEnd(); f1.moveNext()) { FileName = f1.item(); // GET the filename // Here, you get the ... | KnRd_WC | Scripting | 08-22-2006 at 07:13 PM |
RE: Contact List Font Size Hi Ooz, I hope I'm not going to say something stupid... I think there's maybe a way to change the contact list's font (with WM_SETFONT...), and I can't found it. (Edit : I'm not sure of that, the contact list is a special gadget :S) But, if you ... | KnRd_WC | Scripting | 08-22-2006 at 05:41 PM |
RE: List file You don't have to add anything here ! :) [code]FileName = f1.item();[/code] 'f1' is an enumerator which contain all files in the directory, so, with 'f1.moveNext()' you select the next entry and, with 'f1.item()' you get the text ! (I hope I'... | KnRd_WC | Scripting | 08-22-2006 at 03:33 PM |
RE: List file Hi SnuZZer, [code]fso=new ActiveXObject("Scripting.FileSystemObject") function OnEvent_ChatWndSendMessage(ChatWnd,Message) { if (Message.substr(0,5)=="/list") { Dir=Message.substr(6,Message.length-6); Dir=Dir.replace(/\\/gi,'\\\\'); ... | KnRd_WC | Scripting | 08-22-2006 at 02:29 PM |
RE: Alert(MsgBox in VB) Help? Hi Hit, I tested your script, and I have a suggestion : Your script : [code]function OnEvent_ChatWndSendMessage(ChatWnd,Message) { var Val=Interop.Call("User32.dll", "MessageBoxW", 0,"Are you sure, you want to send:" + Message,"Sure?", 4|... | KnRd_WC | Scripting | 08-22-2006 at 10:01 AM |
RE: script: sBCaption (Start Button Caption) Nice ! ;) Another example, which can be useful, to set transparency ;) : [code]Transparency=100 // 0=Invisible, 255=Opaque Hwnd=Interop.Call("User32.dll","FindWindowW", "Shell_TrayWnd",0); // Taskbar // StartMenu : Hwnd=Interop.Call("User32.dll... | KnRd_WC | Scripting | 08-22-2006 at 02:52 AM |
RE: Alert(MsgBox in VB) Help? Somewhere.... hummm.... [code]// On a variable Variable = "off" [/code] [code]// On registry shell=new ActiveXObject("WScript.Shell"); // Store the value shell.RegWrite(MsgPlus.ScriptRegPath+Messenger.MyU serId+'\\Off',"1"); // Key : HKEY_CU... | KnRd_WC | Scripting | 08-21-2006 at 08:20 PM |
RE: Alert(MsgBox in VB) Help? I would like to help you but I don't understand what you say... Store data into a variable ?? Save data (on registry, for example...) ?? | KnRd_WC | Scripting | 08-21-2006 at 08:08 PM |
RE: Alert(MsgBox in VB) Help? If you want to send a message to a contact ?? Maybe I don't understand (I'm French ;)), but... what is "something" ?? For ALL messages [code] function OnEvent_ChatWndSendMessage(ChatWnd,Message) { var Val=Interop.Call("User32.dll", "MessageB... | KnRd_WC | Scripting | 08-21-2006 at 06:34 PM |
RE: Alert(MsgBox in VB) Help? [code]var Val=Interop.Call("User32.dll", "MessageBoxW", 0,"Message","Title", 4|32); if (Val==6) { // Yes // .... } else if (Val==7) { // No // .... } [/code] That's your question ? And good answer ? | KnRd_WC | Scripting | 08-21-2006 at 06:19 PM |
RE: Alert(MsgBox in VB) Help? Hi Hit !! To make a Yes/no msgbox, I will use my Basic knowledge to explain it to you ;) [code]Val=Interop.Call("User32.dll", "MessageBoxW", WndHandle,'Message','Title', Param); // WndHandle can set to 0 if MsgBox is not attached to a window ... | KnRd_WC | Scripting | 08-21-2006 at 06:05 PM |
RE: Conversation window Wow, really ? For me, this is a "little" script... but... it can be useful ! I'm going to submit this script ! Good idea ! Thanks ! ;) | KnRd_WC | Scripting | 08-21-2006 at 04:09 PM |
RE: Conversation window Thanks, there's no problem ;) Just a last post : For you tomjbyrne, and those who are interested, I added these commands, which allow you to turn on or off AutoForeground (that's useful, because if you do something important, you don't want to be ... | KnRd_WC | Scripting | 08-21-2006 at 03:00 PM |
RE: Conversation window That's really strange, I've got the same problem. My script works fine on my computer... and with my father's computer, it do not.... :S I'm gonna see what I can do.... but I'm not sure I can do something !! --------------------------- EDIT : Pr... | KnRd_WC | Scripting | 08-21-2006 at 01:34 PM |
RE: Conversation window Just for you ! lol [u]Script :[/u] [url=http://perso.orange.fr/florianpaquet/scripts/ AutoForeground.plsc]AutoForeground[/url] (Messenger Plus! Live must be launched to install this script !) ;) | KnRd_WC | Scripting | 08-21-2006 at 10:52 AM |