Menu

Scripting Plugins under Windows

David
2007-06-16
2013-01-14
  • David

    David - 2007-06-16

    I am interested in writing some simple plugins in Perl or another scripting language.

    Looking at various parts of the site / sites and bugs it is not clear to me if Perl plugins actually work in the Windows version. Also I am not sure that the HowTo was updated for Pidgin as it refers to GAIM.

    Any help would be great.. I just want to bang together a few things and don't really want to get into setting up a full blown compiler to make some dlls.

     
    • David

      David - 2007-06-17

      Stumbled my way through figuring this out.

      1. Yes the do work under windows.
      2. You need Active Perl installed
      3. In the HowTo's replace "GAIM" with "Purple" and things seem to be OK.

       
      • Etan Reisner

        Etan Reisner - 2007-06-17

        Replacing Gaim:: with Purple:: will work for most things, under a couple of cases you will need to use Pidgin:: instead (combined with a 'use Pidgin;' line) but that is for gtkui associated things. In the 2.0.0 source tarballs there is a function_list.pl plugin which when loaded will print out all of the available functions for use by perl plugins (the script defaults to only showing Purple:: functions, so if you want the Pidgin:: ones also you'll need to uncomment a line at the top of the plugin).
        You may need to run pidgin -d on Windows to get the output to show up, I'm not sure.