Rand Dvorak wrote:

> I have an app that I created and put into an app wrapper using py2app,  
> now need for it to be activated with a folder action script.    All my  
> research so far has pointed me to the aemreceive module, but I have  
> not idea what to use for for the code for the second argument to  
> installeventhandler.

Second arg should be an 8-char string representing event class and event ID codes, e.g.: 'ABCDEFGH'. To invoke that handler from AppleScript, you'd use: «event ABCDEFGH», or you can add a dictionary to your application if you prefer a human-readable keyword.

Manual, tutorial and sample project are included in the source distribution.

HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to