Skip navigation.
 
mlpython scripting support
FROM : Georg Seifert
DATE : Sat May 17 17:16:47 2008

Hello,

I want wo be able to make my program scriptable. Most important with 
python.

My program is written in ObjectC in XCode 3

I have read lots of stuff in the net.
What is the better possibility:

1) make it scriptable with AppleScript and use the Python/Applescript 
bridge or
2) embed it (with the python framework) and use "Py_Initialize();" and 
"static PyMethodDef EmbMethods[] = {"

to 1:
- it is possible to use more than on scripting languages (appleScript, 
python, javascript)
- it integrates in the system

to 2:
- I have to wrap up my classes (I didn’t found any example doing this 
with ObjectC classes, only C++)
- I can have a tighter integration in my program
- the program can’t be remote controlled (as with apple script)

Does anyone has some pros/cons for both approaches?

Does anyone have examples/explanation for the second approach. The 
applescript support seems to be quite well documented.

Thanks in advance
Georg

Related mailsAuthorDate
mlpython scripting support Georg Seifert May 17, 17:16
mlRe: python scripting support has May 17, 23:12
mlRe: python scripting support John C. Daub May 17, 23:47
mlRe: python scripting support has May 18, 11:56
mlRe: python scripting support John C. Daub May 18, 13:06
mlRe: python scripting support Georg Seifert May 18, 13:56
mlRe: python scripting support has May 18, 22:47
mlRe: python scripting support John C. Daub May 19, 00:34