Search Results |
Subject |
Author |
Forum |
Time |
RE: Detecting 'receive msg when minimised' & running a batch It was just a little test :). I didn't knew they were required because it didn't say 'required' (I thought it did with other functions...) But now I know that it is possible, so I'll go look into those functions and play around some more :). Tha... | Dauntless | Scripting | 06-03-2007 at 02:20 PM |
RE: Detecting 'receive msg when minimised' & running a batch Ow, sorry, ChooseColor isn't declared in user32.dll . But 'CreateDialog' IS, (http://msdn2.microsoft.com/en-us/library/ms645434 .aspx) and I still get the 'failed to locate function' errror. | Dauntless | Scripting | 06-03-2007 at 01:46 PM |
RE: Detecting 'receive msg when minimised' & running a batch Thank you :). How can I know which functions I can use and which functions I can't use? I tried this: [code]Interop.Call("User32.dll", "ChooseColor");[/code]But this gives me an error: [quote] Interop.Call failed to locate function "ChooseColor... | Dauntless | Scripting | 06-03-2007 at 01:16 PM |
RE: Detecting 'receive msg when minimised' & running a batch I now have this, and it's working: [code]function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind) { if(ChatWnd.Handle != Interop.Call('user32.dll', 'GetActiveWindow')) { var objShell = new ActiveXObject("Shell.A... | Dauntless | Scripting | 06-03-2007 at 10:44 AM |
RE: Detecting 'receive msg when minimised' & running a batch Thank you for your little script! I'll look into the commands you have used and I'll try to figure out how it works exactly (although it looks quite self-explanatory). Where can I find the documentation for user32.dll ? (I google'd, but it gave to... | Dauntless | Scripting | 06-03-2007 at 10:06 AM |
Detecting 'receive msg when minimised' & running a batch Hi, I have a new notebook (dell XPS M1710) and it has some led's on the side, front and back of the casing. I got the 'crazy' ID to let these lights notify me when someone sends me a message and the window is minimised (or at least 'not focused... | Dauntless | Scripting | 06-03-2007 at 09:28 AM |
RE: AddTimer makes msn crash You are right that it actually only supports prototype based classes, BUT: In AS 2.0, you CAN write classes. But when you compile your movie, the compiler transforms your AS 2.0 class into AS 1.0 prototype based OO. In AS 2.0, this is possible: [code... | Dauntless | Scripting | 08-10-2006 at 09:10 AM |
RE: AddTimer makes msn crash Thx dt :). | Dauntless | Scripting | 08-10-2006 at 08:57 AM |
RE: AddTimer makes msn crash Hmm, I hate that kind of OO... I don't know if you know ActionScript, but it's a lot like JScript. v1.0 supports OO through prototypes and V2.0 supports true OO through custom made classes. | Dauntless | Scripting | 08-10-2006 at 08:49 AM |
RE: Need a little help with msdn help files See, thats exactly the problem: If you search on msdn, it returns hits from ALL of msdn, not just JScript ... | Dauntless | Scripting | 08-10-2006 at 08:39 AM |
RE: Need a little help with msdn help files I just told you I'm having troubles finding stuff in those helpfiles... How can you do a search within the JScript language refference? | Dauntless | Scripting | 08-10-2006 at 07:55 AM |
RE: AddTimer makes msn crash I wrote this myself! I just only thought about the first time the event is triggerd (when you type /countdown). Now, it's really not that complex... I mean, how complex can 100 lines of basic JScript be... The flow of the program: -receive message ... | Dauntless | Scripting | 08-10-2006 at 07:45 AM |
RE: AddTimer makes msn crash I fixed this and now he does display 'Happy new year' after 5 seconds... But I also want him to display '5', '4', '3', ... And do you know the answer to my other questions ? | Dauntless | Scripting | 08-10-2006 at 12:49 AM |
AddTimer makes msn crash Hi, What I'm trying to do, is this: [you type] /countdown [send msg]5 [send msg]4 [send msg]3 [send msg]2 [send msg]1 [send msg]"Happy Newyear" This is what I have so far: [code]var counter = 6; var currentCW; var counting = false; function OnEve... | Dauntless | Scripting | 08-10-2006 at 12:08 AM |
RE: Need a little help with msdn help files Hmm, I have those... But you can't tell me that JScript doesn't have ANY way to use intervals or something ? | Dauntless | Scripting | 08-09-2006 at 10:41 PM |
Need a little help with msdn help files Hi, A few days ago I found out that you could write your own scripts for Msg+. I found this verry interesting so I took a go at it... Now, I'm a fairly good Flash-Developer and Flash uses ActionScript, which is (syntax-wise) a lot like JavaScript /... | Dauntless | Scripting | 08-09-2006 at 10:32 PM |