Sublime Forum

Accessing py-appscript

#1

Py-Appscript -> http://appscript.sourceforge.net/
“Appscript is a high-level, user-friendly Apple event bridge that allows you to control scriptable Mac OS X applications from Python, Ruby and Objective-C.”

I have installed py-appscript with the following command:

sudo easy_install appscript

I would like to use it inside a plugin:

from appscript import *

Is this possible?
If so, how?

Thanks

0 Likes

#2

Solution:

I changed the appscript install to use Python 2.6 since that is what Sublime is using.

sudo easy_install-2.6 appscript

Then I moved the created .egg file to the Installed Packages folder.

0 Likes