altruizine / replaceX

Text replacement plugin for Pidgin, with regex support. Can be used to linkify user-defined strings in IM messages
1 stars 1 forks source link

Launching plugin on Windows 7 #1

Open alexander-myltsev opened 12 years ago

alexander-myltsev commented 12 years ago

Hi!

Kudos for plugin!

I'd like to launch it on Windows 7. I installed Pidgin 2.10.6, ActivePerl 5.16.1 Build 1601. I placed replaceX.pl in %pidgin_home%\plugins. I can't see the plugin in plugin list. What should I do to make it work?

Also, could you give a hint on how to configure plugin in Windows 7 environment?

altruizine commented 12 years ago

I'd like to launch it on Windows 7. I installed Pidgin 2.10.6, ActivePerl 5.16.1 Build 1601. I placed replaceX.pl in %pidgin_home%\ plugins. I can't see the plugin in plugin list. What should I do to make it work?

(Unfortunately, I don't know much about Pidgin for Windows, so I can only guess…)

The plugin requires that support for Perl plugins is enabled when building Pidgin, and your build may not contain this support. To check, have a look at the build info in the main window's "Help" menu. Does it say "Perl: Enabled"?

If not, you need to find a build that has it or rebuild Pidgin yourself. (I have no idea whether Perl plugins are supported for Windows builds at all.)

Also, could you give a hint on how to configure plugin in Windows 7 environment?

Once the plugin loads, try "/help rx" in a chat window for help.

Good luck!

alexander-myltsev commented 12 years ago

Kudos for a very fact reply!

I managed to run Perl plugin in Pidgin. Pidgin doesn't support neither recent version of ActivePerl nor Strawberry Perl. I installed ActivePerl-5.10.1.1008-MSWin32-x86-294165.msi. It could be downloaded from http://code.google.com/p/advanced-replacex-perl-pidgin/downloads/detail?name=ActivePerl-5.10.1.1008-MSWin32-x86-294165.msi&can=2&q= .

So, /rx -a, -d, -l works just fine. I tried sample '''/rx -a gf-trac gf#([0-9]+) ==> $&'". /rx -l returns

List of replacement rules: gf-trac: gf#([0-9]+) ==> $&amp' : adds (or replaces) a replacement rule named 'gf-trac'.

Then I write gf#123 and expect to see something like 123. But I see just gf#123 in my chat list and in recipient's one. What am I doing wrong?

To save count of posts could you also answer to another question. How could I capitalize first letters of a first word in a sentence with replaceX plugin?

Regards!