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 & HelpIntegration › Applescript TO processing
Page Index Toggle Pages: 1
Applescript TO processing (Read 923 times)
Applescript TO processing
Apr 14th, 2009, 12:57pm
 
Hi
I've seen postings of how to launch Applescript from within Processing.
I have the opposite problem.
I am trying to use Applescript to send keystrokes to a Processing application and it simply refuses to accept them.

I've tried the following combinations:
Sending keystroke events directly to Processing
Sending keystrokes to the application written in processing
Sending keystrokes to the process as found in the process manager
Sending keystrokes to an application exported from processing
Sending keystrokes to an applet exported from processing.

None of them work.
Does anyone have any suggestions?

Thanks!
Re: Applescript TO processing
Reply #1 - Apr 19th, 2009, 5:58pm
 
you could use a xml file to mediate data transfer from applescript to processing, for example: making the applescript update a file while processing keeps searching this file to see if it was updated.

it is not the ideal way of doing it, but it should work.

you could also check http://processing.org/hacks/hacks:applescript
Page Index Toggle Pages: 1