What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Hotkeys (Grrr!)

[?] Hotkeys (Grrr!)
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
O.P. [?] Hotkeys (Grrr!)
Right, I've been looking for over 3 HOURS now on how to use hotkeys and I don't care what MSDN says, it doesn't work :'(

I used a sample code that Matty posted but it had undefined variables and other variables that didn't get used ^o) I managed to get it so that the API call returns 1 meaning it was succesful, but the hotkey still doesn't work (The notify event returned nothing each time). Can someone please post a fully functional snippet to get one working please?
<Eljay> "Problems encountered: shit blew up" :zippy:
11-29-2006 03:17 AM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] Hotkeys (Grrr!)
http://www.screenshotsender.com/files/ss4.hotkey_functions.js
http://www.screenshotsender.com/files/ss4.hotkey_variables.js
http://www.screenshotsender.com/files/ss4.variables.js

Here is an example of how to use hotkeys, now if it doesn't work dont complain I will fix it when I get home. I wrote this while at work.

Edit for people who are downloading this please let me know if there are any problems.

This example registers Ctrl + D.

.plsc File Attachment: Hotkey Example.plsc (1.99 KB)
This file has been downloaded 256 time(s).

This post was edited on 11-29-2006 at 08:05 AM by matty.
11-29-2006 03:34 AM
Profile E-Mail PM Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
39 / Male / Flag
Joined: Mar 2002
RE: [?] Hotkeys (Grrr!)
quote:
Originally posted by Matty
please let me know if there are any problems.
quote:
Originally posted by debug window
Bad calling convention detected for "MessageBoxW" in "user32". The function must be declared with __stdcall and called with the appropriate number of paramet
:p
Finish the problem
Menthix.net | Contact Me
11-29-2006 12:47 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
O.P. RE: [?] Hotkeys (Grrr!)
Thanks Matty. I had to alter the code SLIGHTLY... Probs my dodgy script though tbh ;) I got the "Bad Calling Convention" message as well ^o) Obviously replaced that code with a function though so it's not important :p
<Eljay> "Problems encountered: shit blew up" :zippy:
11-29-2006 01:42 PM
Profile PM Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
39 / Male / Flag
Joined: Mar 2002
RE: [?] Hotkeys (Grrr!)
The example script will fail to initialize when starting a second Messenger using Plus!' polygamy, you might want to know about that.
Finish the problem
Menthix.net | Contact Me
11-29-2006 02:18 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
O.P. RE: [?] Hotkeys (Grrr!)
Hmmm... that is a BIT of a problem... I can work around it for now though :p
<Eljay> "Problems encountered: shit blew up" :zippy:
11-29-2006 03:06 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On