[Pythonmac-SIG] creating a dictionary for an applescript app?

tom wible airdrummer at wheel.org
Tue Jun 19 01:43:20 CEST 2007


i'm trying to access a function in an applescript.app i've written...in 
applescript it's:

    tell application "playRec"
	initRecList(false)
	set recList to listRecDict() -- returns a list of records
    end tell

but i want to do it in py-appscript (so i can use cheetah) but ASTranslate 
errors: Untranslated event 'ascrpsbr'

i've set NSAppleScriptEnabled in my app's info.plist, and created an sdef as 
suggested in 
http://lists.apple.com/archives/applescript-implementors/2004/Feb/msg00028.html
but i've not found any docs showing how to link the sdef to my applescript...

can someone point me there?
thanx


More information about the Pythonmac-SIG mailing list