We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › control other applications with processing
Page Index Toggle Pages: 1
control other applications with processing (Read 1004 times)
control other applications with processing
Nov 9th, 2007, 3:39am
 
hi
is there a way to control applications with processing?
thanks
Erez
Re: control other applications with processing
Reply #1 - Nov 9th, 2007, 6:35am
 
Hi. What do you mean exactly? Sending key or mouse events to other apps? Sending and receiving MIDI messages? There are a lot of ways to communicate with external applications, depending on how they are built. Give us more explanations if you have a precise idea of what you want to do Wink
Re: control other applications with processing
Reply #2 - Nov 26th, 2007, 4:39am
 
yes, I would like to control the Messenger application with processing, by clicking on the keyboard.
For example, I would like to press on “M” and open the application,
Click on “D” and open message window for Diana,
Click on “K” and write Kiss in the message window
Re: control other applications with processing
Reply #3 - Nov 26th, 2007, 10:10am
 
I'm fairly sure that that would be near enough impossible I'm afraid.
Re: control other applications with processing
Reply #4 - Nov 26th, 2007, 1:48pm
 
Well, it's kind of a hack, but you could use the open() command for opening the a program.
http://processing.org/reference/open_.html

you could also open a macro/script file that performs the task. On Mac OSX this would be pretty straight forward using Automator or AppleScript. Messenger sounds like windows though... not sure what automating possibilities M$ puts into their products.
Re: control other applications with processing
Reply #5 - Nov 26th, 2007, 2:02pm
 
extrapixel wrote on Nov 26th, 2007, 1:48pm:
not sure what automating possibilities M$ puts into their products.


None whatsoever I believe...
Re: control other applications with processing
Reply #6 - Nov 27th, 2007, 9:48am
 
never mind,
i ended up using AutoHotkey to do what i wanted...
thanks
Page Index Toggle Pages: 1