Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Call for perl from other applications

by Anonymous Monk
on Oct 22, 2009 at 21:37 UTC ( #802803=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Good day monks..
I have a small perlTk application that takes a string input and generates a new string.
Is there a way to automate this process, so that my users don't need to copy the string from e.g "Firefox, emesene" and paste it to my App and then go back to firefox and paste the new string. If there was a way to just let the user select the text in firefox and hit a shortcut combination to do the process and substitute the selected string with the new one??
I am targeting Gnome users.
Regards

Comment on Call for perl from other applications
Re: Call for perl from other applications
by Joost (Canon) on Oct 22, 2009 at 23:47 UTC
    It really depends on the application and its environment, but since you're talking about firefox, it should be possible to provide some sort of extension that would automate the process. Have a look at greasemonkey if you want to experiment, and aren't afraid of messing with javascript and the (frankly quite ugly) mozilla XUL/internal JS bindings.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://802803]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-11-23 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (132 votes), past polls