Search Results |
Subject |
Author |
Forum |
Time |
Inline Edit GM script not working... When trying to use the following script I get a Security error... WDZ any idea why? [code=js]// ==UserScript== // @name MsgHelp.net - inline.editing // @namespace http://*msghelp.net/* // @include http://*msghelp.net/* // ==/Use... | matty | Forum & Website | 03-31-2010 at 06:30 PM |
RE: experimenting with Wscipt.shell This is all the code you need: [code=javascript] function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind) { if (Message == "comment") { var shell = new ActiveXObject('WScript.Shell').exec('C:\\Wind o... | djdannyp | Scripting | 03-30-2010 at 06:36 PM |
RE: experimenting with Wscipt.shell IIRC it is. Also, you don't need the path as matty has shown, but it may help. @matty: You forgot to double slash before "shutdown" and the "s" in "Shell" <in the op> wasn't in the correct case either. | Spunky | Scripting | 03-30-2010 at 05:00 PM |
RE: experimenting with Wscipt.shell Correct me if I am wrong but I am sure this is case sensitive... [code=js]new ActiveXObject('WScript.Shell').exec('C:\\Wind ows\\system32\\shutdown.exe -s -t 60');[/code] | matty | Scripting | 03-30-2010 at 01:11 PM |
RE: [SOLVED] PHP file_exists complex! I'll take that as "Please do it for me" :P Maybe the following lines replacing the array_flip line would work. [code=php] foreach ($release as $release_item) { $delete[$release_item['name']] = ""; } [/code] | Mnjul | Tech Talk | 03-27-2010 at 06:20 PM |
RE: [SOLVED] PHP file_exists complex! [code=php] Array ( [0] => Array ( [releaseid] => 1 [name] => Back.To.The.Future [filesize] => 1173363271 [files] => 26 [creation] => 1269378095 ) [1] => Array ... | prashker | Tech Talk | 03-27-2010 at 05:30 PM |
[suggestion] Window shaping Don't really know where to post it, so I'll put it in General. Anyways, this can be done for Messenger windows through skinning, but it might be cool to do it for PlusWnd objects to. Something like [code=JScript]PlusWnd.ApplyShape([image parameters... | SmokingCookie | WLM Plus! General | 03-27-2010 at 05:14 PM |
RE: [SOLVED] PHP file_exists complex! [code=php] //Directories to search $monitor = array( '/home/admin/Downloads/Downloading/', '/home/admin/Downloads/', '/home/admin/ThirdFolder/' ); //Looking for $release $release = array('Back.To.The.Future','Forward.To.The.Past ','NonExist... | Mnjul | Tech Talk | 03-27-2010 at 04:48 PM |
[SOLVED] PHP file_exists complex! Folder Structure /home/admin/Downloads/Downloading/[b]Back.To.The.F uture[/b] /home/admin/Downloads/[b]Forward.To.The.Past[/b] [code=php] //Directories to search $monitor = array( '/home/admin/Downloads/Downloading/', '/home/admin/Downloads/', '/... | prashker | Tech Talk | 03-27-2010 at 04:34 PM |
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM Shutting down Skype when closing WLM should be pretty easy to do as Skype itself provides a /shutdown command-line parameter. So all you'd need is: [code=Jscript]function OnEvent_Uninitialize(MessengerExit) { if (MessengerExit) { var w = new Acti... | andrey | Scripting | 03-25-2010 at 12:23 AM |
RE: Chat Window Focus on Message Received Windows API's are used a bit differently than that. [code=js]function OnEvent_ChatWndReceiveMessage(ChatWnd) { Interop.Call('user32', 'BringWindowToTopW', ChatWnd.Handle); }[/code] | matty | Scripting | 03-23-2010 at 04:38 PM |
RE: automatic initiate boss protection Here is a quick script that will lock messenger when you status is set to idle. In order for this to work WLM has to be allowed to change your status to idle after X minutes of inacctivity. [code=js]function OnEvent_MyStatusChange (nStatus) { if (n... | matty | Scripting | 03-22-2010 at 01:07 PM |
RE: I've been thinking... You might also want to make Popups an object instead of an array, like so: [code=js]var Popups = {}; // empty popups container object[/code] The reason for this is that when you assign an element on a given index, the engine will have to create empt... | Matti | Scripting | 03-19-2010 at 05:31 PM |
RE: Help with very small script Hmm, that's pretty odd. Could you try the code snippets above and see if those do any better? (I don't have time to test these myself at the moment.) | Matti | Scripting | 03-18-2010 at 09:16 PM |
RE: Help with very small script OOPS!!!!!!!!!!!!!!!!!! [code=js]var oEmails = [ 'email1@hotmail.com', 'email2@hotmail.com' ]; function OnEvent_ChatWndReceiveMessage (pChatWnd, sOrigin, sMessage, nMessageKind) { for (var oEmail in oEmails) { >>> if (pChatWnd.C... | matty | Scripting | 03-18-2010 at 08:27 PM |
RE: SQL/Database Help It's all good. I test software and a lot of stuff I write database queries for. There is a better way of doing it I just cannot think of it off the top of my head :) toddy, you were correct about INNER JOINing the tables here is how you could do it... | matty | Tech Talk | 03-18-2010 at 08:19 PM |
RE: SQL/Database Help You don't want to use an INNER JOIN in this case as an INNER JOIN will join 2 tables with like values. [code=sql]SELECT * FROM tblFilms WHERE (Actor1=NAME1 OR Actor2=NAME1 OR Actor3=NAME1 OR Actor4=NAME1) AND (Actor1=NAME2 OR Actor2=NAME2 OR Actor... | matty | Tech Talk | 03-18-2010 at 08:06 PM |
RE: SQL/Database Help The best I can come up with is: [code=sql] SELECT those_columns FROM tblFilms WHERE (tblFilms.Actor1=NAME1 OR tblFilms.Actor2=NAME1 OR tblFilms.Actor3=NAME1 OR tblFilms.Actor4=NAME1) INTERSECT SELECT those_columns FROM tblFilms WHERE (tblFilms.Actor1... | Mnjul | Tech Talk | 03-18-2010 at 06:52 PM |
SQL/Database Help Okay, I have a database of films.....I want a search function to be able to find any films that a given pair of actors appear in (Owen Wilson & Ben Stiller, for example) when they could be in any one of the 4 "Actor" fields. Here's the code I have... | djdannyp | Tech Talk | 03-18-2010 at 06:42 PM |
RE: Help with very small script Remove the comma (,) at the end of this line [code=js] var oEmails = [ >>>'matejsturm57@hotmail.com',<<< ]; [/code] It should be: [code=js] var oEmails = [ >>>'matejsturm57@hotmail.com'<<< ]; [/code] It is a symbol used to separate multip... | Spunky | Scripting | 03-18-2010 at 05:26 PM |
RE: Help with very small script Something like this? [code=js]var oEmails = [ 'email1@hotmail.com', 'email2@hotmail.com' ]; function OnEvent_ChatWndReceiveMessage (pChatWnd, sOrigin, sMessage, nMessageKind) { for (var oEmail in oEmails) { if (pChatWnd.Contac... | matty | Scripting | 03-18-2010 at 12:29 AM |
RE: I've been thinking... Something I just wrote out. Except it doesn't seem to detect all types of events. Any ideas? [code=js]// WLM Toasts - easily detect Messenger toasts // By Whiz @ WhizWeb Community (http://www.portal-wwc.org.uk) // Adapted from "MSN Popup Spy" by... | whiz | Scripting | 03-17-2010 at 08:19 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 Good to hear (or read, whatever :P ) I've read your to-do list: You'll need to dynamically write an interface window to a file (eg. "WndTest[i]UserID[/i].xml"), load it and get some workaround for the events of a specific control. Furthermore, I ... | SmokingCookie | Scripting | 03-14-2010 at 09:42 AM |
RE: Alert sound while set to busy, how? I suppose a script could play the sound file if you're set to busy... [code=js]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind) // message received event { if (Origin !== Messenger.MyName && Messenger.MyStatus === 4) //... | whiz | WLM Plus! Help | 03-13-2010 at 11:33 AM |
[Suggestions] [Wishlist] Messenger Plus! Live 5 Well Patchou has announced a while ago that he has gained control again (sort of speak) and has mentioned a few times Messenger Plus! Live 5. Since we, the community, have a voice again, Id like to see what Plus! members would like in MP!L 5. Here is... | riahc4 | WLM Plus! General | 03-10-2010 at 03:33 AM |