What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » instantiate plus! scripting objects from outside?

Pages: (3): « First [ 1 ] 2 3 » Last »
instantiate plus! scripting objects from outside?
Author: Message:
rh
Full Member
***


Posts: 115
– / Male / –
Joined: Mar 2003
O.P. instantiate plus! scripting objects from outside?
hi,

i would like to write a program that changes my MSN state to busy and back again.

NOW THIS IS NOT A PLUS SCRIPT!

it's a programm that accesses MSN from "outside". i did not find any info on a "normal" API for WLM, so I wonder if it would be possible to use the objects that are available to plus scripts from this program.

any ideas? thanks a lot!

regards,
rh
08-08-2006 11:15 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: instantiate plus! scripting objects from outside?
Can I ask: why not a script? It'd be far easier.
[Image: spartaafk.png]
08-08-2006 12:20 PM
Profile PM Web Find Quote Report
rh
Full Member
***


Posts: 115
– / Male / –
Joined: Mar 2003
O.P. RE: instantiate plus! scripting objects from outside?
because I want to react to a button pressed on my remote control. this button triggers an event in an AutoHotKey script.

now I don't know how to "inform" a plus! script about an event in such a script. my idea would be to simply let the AHK script launch a VB (or JS) script, which then would be perform the status change.

This post was edited on 08-08-2006 at 12:25 PM by rh.
08-08-2006 12:24 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: instantiate plus! scripting objects from outside?
It will still probably be easiest to use a script.  For some possible solutions look at this thread and you can find what the computer reads the buttons as by usig the program here
[Image: markee.png]
08-08-2006 12:33 PM
Profile PM Find Quote Report
rh
Full Member
***


Posts: 115
– / Male / –
Joined: Mar 2003
O.P. RE: instantiate plus! scripting objects from outside?
well thanks, but the button does not send any keycode. the event it launches in AHK ist realised through a DLL that accesses the remote control.

of course, i could use AHK to send a keycode and capture that keycode from MSN, but that would be a VERY ugly solution.

This post was edited on 08-08-2006 at 12:41 PM by rh.
08-08-2006 12:40 PM
Profile E-Mail PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: instantiate plus! scripting objects from outside?
someone could make a dll that monitors a text file, when the file is changed it executes whats in the file.
08-08-2006 12:42 PM
Profile E-Mail PM Web Find Quote Report
AberNStein
Full Member
***


Posts: 132
Reputation: 2
Joined: Jul 2006
RE: instantiate plus! scripting objects from outside?
can't you just change the status with ahk?
you can do status changes through the file menu in wlm.
i'm gonna see if i can get a working ahk script
i'll post back in a bit.
[Image: gybouserbar6hc.gif]
08-08-2006 03:36 PM
Profile PM Find Quote Report
Intosia
Junior Member
**

Avatar
I'm dynamic ^^

Posts: 78
40 / Male / –
Joined: Mar 2004
RE: instantiate plus! scripting objects from outside?
@ Veggie

Well you dont need a dll for that...?



Cant you emulate clicking the menu's in WLM? Most macros program's can do that. Its the easiest way i can think of right now, since there is no api.

This post was edited on 08-08-2006 at 03:39 PM by Intosia.
08-08-2006 03:37 PM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: instantiate plus! scripting objects from outside?
There is an api. I've used it before. And there's also Add-ins. :S

You can use WM_COMMAND to change statuses if one of the windows is open.
If not, you'll need to send messages to MsnHiddenWindowClass telling that: you opened the tray menu, selected the My Status box, opened that menu, and selected the right status (this is because the MsnHiddenWindowClass doesn't interpret WM_COMMAND messages.)
08-08-2006 04:01 PM
Profile PM Find Quote Report
Intosia
Junior Member
**

Avatar
I'm dynamic ^^

Posts: 78
40 / Male / –
Joined: Mar 2004
RE: instantiate plus! scripting objects from outside?
Send messages arent the same as API's. You can send messages to every window/program in Windows...

The send message command IS a api, but from Windows.

Anyway, what he means are WLM api's like the one in Window Messenger...

This post was edited on 08-08-2006 at 04:14 PM by Intosia.
08-08-2006 04:08 PM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« 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