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

Search Results
Subject Author Forum Time
RE: Basic Questions - LaTeX
Thanks. At the moment, I'm just following the example in the documentation. I have been able to show the window in the Initialize event, but it won't show up in any other event... I need it to show up after the latex is done converting to a png f...
FlippyScripting06-17-2009 at 12:23 PM
RE: Basic Questions - LaTeX
What do you mean? The command doesn't need any input, I just need to run that command as it is. The file.dvi file is created just before that (with the latex command), and the dvipng commands creates a PNG image from the dvi file. Anyway, I found t...
FlippyScripting06-17-2009 at 10:59 AM
RE: Basic Questions - LaTeX
Oh darn, that will be a problem... Oh well, let's tackle it one at a time lol. I have decided not to use the command line directly, but rather just execute a batch file. My code right now is this: [code=jscript]function OnEvent_ChatWndReceiveMessage...
FlippyScripting06-17-2009 at 10:37 AM
RE: Basic Questions - LaTeX
Ahh, I was already trying regex but I forgot about the \$ instead of just $ :p Thanks! And (according to ryxdp) any emoticons in the message will be replaced by their shortcut, so even if the user is typing emoticons such as f(x), the latex will st...
FlippyScripting06-17-2009 at 10:25 AM
RE: Basic Questions - LaTeX
the best bet is to just do it as the message is sent... also with your regex you want: [code=javascript]var texCode = Message.replace(/\$\$/g, "$");[/code]
NanaFreakScripting06-17-2009 at 10:17 AM
RE: Basic Questions - LaTeX
Erm, one thing lol, perhaps this deserves a new thread but I'll ask here first. How do I replace [i]all[/i] instances of a string with another string? I want to replace every "$$" with a single "$" in the Message, so I tried this: [code=jscript]...
FlippyScripting06-17-2009 at 10:01 AM
RE: Basic Questions - LaTeX
The short answers to all three of these questions are indeed "yes", as the language used in Plus!'s scripting engine is JScript, a rather flexible and easy to learn language. As all emotions will be returned as their shortcuts, including custom e...
ryxdpScripting06-17-2009 at 09:26 AM
RE: [release] WLMini Music Player 2.42
oh silly me, forgot the tr array was only for the 'format' param (which would appear correctly on 8.5) :P try this instead: Line 35 of 'wlmini.events.js': [code=JScript] case 2:setNowPlaying(1,MPSMText,media.getItemInfo("tit le"),media.getItemI...
roflmao456Scripting06-15-2009 at 09:09 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
Umm... (well, I was about to say there was a problem with line 30, but I found the spelling mistake :)) [code]Function called: OnEvent_Initialize Error: Object expected (code: -2146823281) File: __FnWindowParser.js. Line: 46. Error: Object exp...
whizScripting06-15-2009 at 06:27 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
Or you could do it the proper way...
vaccinationScripting06-14-2009 at 10:04 PM
RE: Uncommitted new row cannot be deleted. C#
Isn't because the latest row is in edit mode (with an asterisk in the first column)? before deleting latest row make sure it's not a new row ;) [code=C#]if (!yourdataGrid.Rows[i].IsNewRow){ yourdataGrid.Rows.RemoveAt(i); }[/code]
felipExTech Talk06-14-2009 at 08:56 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
About the scripts' folder: I use this method: [code=JScript]function GetScriptFolder() { var fso = new ActiveXObject("Scripting.FileSystemObject"); var ret = fso.GetFolder(MsgPlus.ScriptFilesPath + "\\..").Path; fso = null; // Clean up ret...
SmokingCookieScripting06-14-2009 at 05:34 PM
[Suggestion] Secure settings store
How to store and access script data, like login passwords, securely in Messenger Plus? [list][*]The best solution is to store a hash, like MD5, in registry. [*]But what if the remote site does not support hashed passwords?[/list] Over the past script...
mynetx06-13-2009 at 08:57 PM
RE: Finding a window and stopping it from displaying
Dunno if one can actually "block" windows, but you can indeed find it and close it: [code=JScript]function FindWindow(hWndParent,lpszClass,lpszWindow) { if(typeof hWndParent !== "number") hWndParent = 0; if(typeof lpszClass !== "string") lpsz...
SmokingCookieScripting06-13-2009 at 02:31 PM
RE: QuickKey | [release] 2.2 | 29/11/2009
There are quite a few things you can do to reduce your code for instance: [code=js]function OnEvent_MenuClicked(sMenuId, nLocation, iOriginWnd) { MsgPlus.CreateWnd("Windows.xml", "Wnd"+sMenuId, 0); }[/code] In WndShortcuts instead of calling the...
mattyScripting06-10-2009 at 08:26 PM
RE: HELP - Hotkeys!
Yep. What also works (and saves some typing) is this: [code=JScript]function OnWndSubclassEvent_MessageNotification(PlusWnd,Mes sage,wParam,lParam) { switch(wParam) { case 0x100: // do stuff break; case 0x101: // A different ID for a differe...
SmokingCookieScripting06-08-2009 at 07:15 PM
RE: HELP - Hotkeys!
[code=js]function OnWndSubclassEvent_MessageNotification(PlusWnd, Message, wParam, lParam) { if (wParam == 0x100) { // ... } }[/code] Like that?
whizScripting06-08-2009 at 07:10 PM
RE: HELP - Hotkeys!
[code=js]Interop.Call("user32", "RegisterHotKey", WndSbc.Handle, "OpenMenu", MOD_ALT + MOD_SHIFT, 0x4D);[/code] [s]And if that is the case, how can I monitor it so I can perform an action when the combination is pressed?[/s] EDIT: It works with...
whizScripting06-08-2009 at 06:46 PM
RE: HELP - Hotkeys!
I've added the following lines to my script: [code=js]var MOD_ALT = 0x1; var MOD_CONTROL = 0x2; var MOD_SHIFT = 0x4; var WndSbc = MsgPlus.CreateWnd("Windows.xml", "WndSubclass", 2); RegisterHotKey(WndSbc.Handle, "OpenMenu", MOD_ALT + MOD_SHIFT...
whizScripting06-08-2009 at 06:19 PM
RE: IE layout
No problemo (y)
stoshrocketTech Talk06-08-2009 at 02:00 PM
RE: IE layout
Thanks, works perfectly.
ReaperTech Talk06-08-2009 at 12:52 PM
RE: [364] EnableAddon
Just write a small batch file like this one, and run it with a UAC-elevated shortcut: [code=dos] @echo off rem Not guaranteed to work on x64. %SystemDrive% cd "%ProgramFiles%\Windows Live\Messenger" if exist msimg32.dll goto disable :enable if no...
mynetx06-07-2009 at 08:40 AM
RE: IE layout
Try this, in the css style sheet, lines 125-127: [code=css] ul#navi { margin-left:0px; } [/code] Fixes for IE tab for firefox, which displays the same as IE 7 as far as I have tested it.
stoshrocketTech Talk06-04-2009 at 10:07 PM
RE: How to include a .log file in my personal message?
Notice that the file and path name in matty's code has double slashes, it is mandatory:[code=js]Messenger.MyPersonalMessage = ReadFile('c:\\test.log');[/code] So change [code]ReadFile('C:\Users\Myname\Desktop\test. log');[/code] to [code=js...
CookieRevisedScripting05-31-2009 at 09:22 PM
RE: Labels on Preferences Tabs
This? [code=JScript]var Tabs = { "RadSettings": "Settings", "RdiOtherTab": "Other tab" // Etc. } function LoadTabs(PlusWnd) { for(var i in Tabs) { for(var e = 1; e <= 4; e++) PlusWnd.Button_SetElementText(i,"TxtSettings" + e,Tabs[i]);...
SmokingCookieScripting05-28-2009 at 07:35 PM
[Hide Excerpts] Pages: (51): « First « 28 29 30 31 [ 32 ] 33 34 35 36 » Last »