What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » Search » Results

Search Results
Subject Author Forum Time
RE: HELP - Resizing a child window!
That's odd... Can you pack your script and upload it so we can have a better look at it?
MattiScripting09-13-2009 at 10:10 AM
RE: Some PHP help, yet again
[code=php]<?php foreach (glob("/path/to/maps/*.bsp") as $file) { $info = pathinfo($file); echo $info['filename']; // requires PHP 5.2.0 !!! } ?>[/code] If you're running on PHP < 5.2.0, you can get the file name using substr() and strrpos(): [...
MattiTech Talk09-12-2009 at 04:02 PM
RE: HELP - Resizing a child window!
I've tried many times before, but it simply fails to work. Either it throws an unknown exception in the script debugger, or it just doesn't do anything. Feel free to try MoveWindow, but I'm sticking to SetWindowPos. :P
MattiScripting09-12-2009 at 03:42 PM
RE: HELP - Resizing a child window!
Actually, SetWindowPos is the right function for this. I've had many trouble before using MoveWindow, and SetWindowPos was always the answer. :P Anyway, I've done this in my [url=http://shoutbox.menthix.net/showthread.php?ti d=65123]Countdown Live s...
MattiScripting09-12-2009 at 03:32 PM
RE: Script Always Stopped
Good thing you figured that out yourself, that really is the best way of learning programming! :)
MattiScripting09-03-2009 at 05:01 PM
RE: A newbie question
A function definition has the following form: [code=js]function functionName(paramName1, paramName2) { // code goes here }[/code] The error in your code is that you're giving a [b]value[/b] instead of a [b]variable name[/b] where your parameters g...
MattiScripting09-03-2009 at 05:00 PM
RE: Script Always Stopped
Since this seems to be a frequently asked question, I'll spend some time explaining this a bit more in depth... When working with objects, you have to understand the difference between classes (or instances) and singletons (static objects). [list] [...
MattiScripting09-03-2009 at 04:37 PM
RE: Need a Script maker.
MattiScripting08-29-2009 at 06:19 PM
RE: New developer
That's great! Now you have an extra pair of eyes to look out for buffer overflows. :D
Matti08-19-2009 at 07:59 PM
RE: Creating file dialog in Vista
Those ActiveXObjects are very system-dependent, Vista and above no longer support those. You're much better off using native Win32 functions, as those are kept throughout many versions of Windows. In the case of an open file dialog, you'll have to ...
MattiScripting08-13-2009 at 07:45 AM
RE: [Request] Random Number Generator
Ah, matty goes the DIY way again! :P However, I think you have a small error in your error handling. When [font=Courier]parseFloat[/font] can't convert [font=Courier]Param[/font] into a valid floating point number, it'll return [font=Courier]NaN[/f...
MattiScripting08-05-2009 at 07:32 PM
RE: [Request] Random Number Generator
There are already many scripts which can do that, have a look in the [url=http://www.msgpluslive.net/scripts/search/?q= dice]scripts database[/url]. The only problem I see is that you want a random number in the range of 0..n, whereas most dice roller...
MattiScripting08-05-2009 at 08:16 AM
RE: Setting button image during runtime
Good thinking, but I couldn't get it to work here. I created a HBITMAP from an image file and then tried to send its handle to a button control, but the button image didn't change. I think the button control of Plus! draws its image only on creati...
MattiScripting08-01-2009 at 09:58 AM
RE: Request Script: Facebook Chat Plugin
The problem with that library is that the library needs to be ran in a browser where the "window" and "document" objects are available, which is not the case in a Plus! Live script. If you look through the code, you'll see that the script manipu...
MattiScripting07-31-2009 at 08:29 AM
RE: Question for the beginning Plus! Scripters
I'd love to help in this project! We really need a scripting resource center! :D I can contribute some code examples myself, but I can also help in building the website with my PHP and XHTML/CSS knowledge. Only drawback at the moment: I won't be ab...
MattiScripting07-05-2009 at 06:07 PM
RE: Tomorrow...
Why, oh why! I'm going on holidays tomorrow, and I won't be back until August! :O /me senses conspiracy against himself...
MattiWLM Plus! General06-30-2009 at 11:48 AM
RE: Messenger Plus: How To Read a Text File?
That totally depends on what is static in "hi robert". [list] [*]If you want to read the first word of a file, you can use a regular expression on the file's content: [code=js]var sContent = "hi robert"; var sResult = sContent.match(/^\b(\w+)...
MattiScripting06-25-2009 at 09:45 AM
RE: Pitcho can you update my beta email
Oh? Are we supposed to receive beta information by e-mail? :P Then you might want to check mine too: mattias@buelens.com
Matti06-22-2009 at 08:06 AM
RE: [Suggestion] Disable Personalized Status Window easily
I think it's a good idea, however I'm not sure about the implementation. I don't know whether it's good to mix a setting from the Preferences with an action dialogue box. You could add a little note beneath it saying "You can re-enable this in ...
Matti06-21-2009 at 08:33 AM
RE: Line/Separator
Good thing you have figured it out yourself, and thanks for sharing your solution! :)
MattiScripting06-21-2009 at 08:23 AM
RE: Download a File
It's right here: [url=http://shoutbox.menthix.net/showthread.php?ti d=85217]Auto-Update for Skins & Scripts FAQ[/url] (stickied under [url=http://shoutbox.menthix.net/forumdisplay.php? fid=23]MsgPlus! General Talk[/url])
MattiScripting06-20-2009 at 01:18 PM
RE: Download a File
That's because "OutFile" has to be a file path, not only a folder path. So you should change that to something like: [code=js]var Url = "http://www.msgpluslive.net/favicon.ico"; var OutFile = "C:\\favicon.ico"; MsgPlus.DownloadFile(Url, OutF...
MattiScripting06-20-2009 at 12:55 PM
RE: Basic Questions - LaTeX
@CookieRevised: Okay, I understand that you don't [i]need[/i] a complete script file with a fully functional class to [i]just[/i] read the dimensions of the image. But heck, as a script developer I prefer a clear overall structure so I know where I ...
MattiScripting06-19-2009 at 01:43 PM
RE: Finding a window and stopping it from displaying
Yeah, well the WMP toolbar has the annoying habit to immediately pop up that fly-out whenever you move your mouse over it, and then there is no way to quickly close it again, you simply [u]have[/u] to wait those 2 to 3 seconds. Very annoying when you...
MattiScripting06-19-2009 at 01:22 PM
RE: Basic Questions - LaTeX
Ah, it seems like you ran into the same problem every developer goes through when learning to work with Interop.Allocate and memory structures. No worries, I've had the same thing as well. :) Let's have a look at the RECT structure as defined by MS...
MattiScripting06-18-2009 at 07:22 PM
[Hide Excerpts] Pages: (66): « First « 5 6 7 8 [ 9 ] 10 11 12 13 » Last »