Miranda IM

Results 1 to 6 of 6

Thread: Plugin idea: integrate with prowl API's

  1. #1

    Plugin idea: integrate with prowl API's

    I'm looking for some help to write a new plugin. I'd like to be able to pass an incoming message text, contact name, and date/time it was received off to my iphone via push notification. The easiest way to do this is to send the message data over to Prowl (http://prowl.weks.net) via its API's. I can see a couple of options:

    1 - Use the .Net library from http://prowldotnet.codeplex.com/ and http://prowl.weks.net/api.php to build a "real" miranda plugin.

    2 - Build a miranda plugin that can pass the message data off to a windows batch file. In this batch file I can then use perl or growlnotify to send the data to my iPhone via prowl.

    I am clueless on how to program this though as I have never written a miranda plugin. My thoughts were to start with something like the trigger plugin, keyboard notify plugin, or message notify plugin as a base and modify it.

    Ideally I'd like the plugin to let me choose which protocol(s) and status(s). For example, if my jabber protocol is in the AWAY status then send the incoming message to my iphone via prowl.

    Is anyone up to the challenge to build such a plugin for MIM v9 x64?

  2. #2
    Join Date
    March 2005
    Location
    Poland
    Posts
    3,186
    Quote Originally Posted by mlcampbe View Post
    2 - Build a miranda plugin that can pass the message data off to a windows batch file. In this batch file I can then use perl or growlnotify to send the data to my iPhone via prowl.
    You can do that with the TriggerPlugin...

  3. #3
    I took a look at the trigger plugin and it will execute a file but I could not find a way to pass any parameters to the file so there was no way to send the received message info. If you have info on how to do it please let me know.

  4. #4
    Join Date
    March 2005
    Location
    Poland
    Posts
    3,186
    http://img690.imageshack.us/i/clipboard1a.png/

    The whole command is:
    Code:
    D:\Devel\ahk\save params.exe "?message(,first,rcvd,unread)" "%contactname%" "%date%"

  5. #5
    A Growl plugin would probably work best if implemented as a drop-in replacement of Popup+.

  6. #6

Similar Threads

  1. New Away System plugin discussion
    By Deathdemon in forum Plugins
    Replies: 1103
    Last Post: 30 Sep 2012, 9:16 AM
  2. [resolved] Miranda doesn't see my plugin
    By Rev in forum Coding for Miranda IM
    Replies: 3
    Last Post: 21 Dec 2008, 11:20 AM
  3. Replies: 91
    Last Post: 29 Feb 2008, 7:17 AM
  4. Miranda IM v0.8.0 Build #9 Discussion
    By ghazan in forum Development Builds
    Replies: 162
    Last Post: 25 Feb 2008, 4:32 PM
  5. idea for a away plugin
    By redanimalwar in forum Feature Requests
    Replies: 3
    Last Post: 1 Jul 2005, 3:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •