4 ms·
I realize this isn't the same thing, but a lot of Mac apps are scriptable through Apple's Open Scripting Architecture [1], so it's more than possible to use Pyt
by jodoherty 14y ago
I realize this isn't the same thing, but a lot of Mac apps are scriptable through Apple's Open Scripting Architecture [1], so it's more than possible to use Python [2] or Ruby [3] or any other language with an OSA bridge to access and reuse application functionality or to automate tasks. According to Wikipedia, Microsoft Office 2008 supports OSA, so it's worth investigating with Microsoft Office 2011. You can use the ASDictionary app from the appscript page [4] to see what scriptable functionality, if any, various Microsoft Office for Mac applications support.
References:
[1] https://developer.apple.com/library/mac/#documentation/applescript/conceptual/applescriptx/concepts/osa.html https://developer.apple.com/library/mac/#documentation/apple...
[2] http://appscript.sourceforge.net/py-appscript/index.html http://appscript.sourceforge.net/py-appscript/index.html
[3] http://rubyosa.rubyforge.org/ http://rubyosa.rubyforge.org/
[4] http://appscript.sourceforge.net/tools.html#asdictionary http://appscript.sourceforge.net/tools.html#asdictionary