Shoutbox

[in-development] Autrogo: Messenger task automator - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [in-development] Autrogo: Messenger task automator (/showthread.php?tid=98196)

[in-development] Autrogo: Messenger task automator by whiz on 08-22-2011 at 07:33 PM

Now that my Voicemail script is pretty much done (assuming no bugs are found with the beta, I'll release it as stable on the database), I have another project underway...

Autrogo (at least, as I've called it for now) is able to automate various Messenger tasks using custom "rules" set by the user.

The script reads an XML file containing all the user's rules.  At the moment, there is no UI for creating/editing these files, so configuring the script must be done manually.  The basic system of rules splits into triggers, conditions and actions.

  • Triggers are, essentially, Plus! and WLM events, such as when the user's status changes, or when Messenger Lock is enabled.  Some triggers with suitable parameters will be available for use in conditions and actions.
  • Conditions allow the user to narrow down when a trigger applies, by testing other states in Messenger.  For example, the user may want to do something when changing status to busy, so the trigger would be a change of status, and the condition would be if the new status is busy.  Conditions can use "and" or "or" grouping, in which all or at least one (in that order) of the conditions must apply.
  • Actions specify things the user can do when a trigger applies.  This could be changing name, PSM or status, sending messages to a conversation, locking Messenger and so on.

An example user configuration file (which does actually work):
XML code:
<Autrogo Version="0.01b">
    <Rules>
        <Rule Name="TestR" Trigger="ChatMsgReceived">
            <Actions>
                <Action Type="Toast" Message="Chat: %var:Contacts%\n%var:Sender%: %var:Message%"/>
            </Actions>
        </Rule>
        <Rule Name="TestS" Trigger="ChatMsgSent">
            <Actions>
                <Action Type="Toast" Message="Chat: %var:Contacts%\nMe: %var:Message%"/>
            </Actions>
        </Rule>
    </Rules>
</Autrogo>


This script could do a number of tasks.  It can act as a simple auto-responder.  It could act as a notification system.  It can do a number of tasks at once.  Plus, rule files will have import/export support, so can be interchanged at will.



Anyway, to the point...  :P

If anyone wants to beta-test (well, probably more alpha at the moment) and try it out, let me know and I can send you a copy of the script pack when I think it's ready for some trials.

Also, if anyone's interested in helping to make (and perhaps program) a UI for the script, let me know that too.  :)
RE: [in-development] Autrogo: Messenger task automator by warmth on 08-22-2011 at 07:42 PM

For now nothing more than features that MP!L already offer but sounds super promising for the future :O great my friend! Keep doing well!


RE: [in-development] Autrogo: Messenger task automator by whiz on 08-22-2011 at 07:50 PM

At the moment, I've just made triggers out of Plus! events.  But I don't think it'd be too difficult to make triggers for things outside of Messenger...  could put the Windows API to use and make some Windows triggers too.  I'll have to have a look around online and see what I can find.  8-|