[wingide-users] Scripting Documentation and CAPIApplication Instance?
support at wingware.com
Thu Sep 1 11:59:28 EDT 2005
On Thu, 1 Sep 2005, Ken Kinder wrote:
> On this page, bullet #3 reads "All of the documented commands which can
> be invoked using the ExecuteCommand() method on wingapi.CAPIApplication."
> When I do something about like that in a script,
> I get,
> Exception: 'exceptions.TypeError'
> Value = 'unbound method ExecuteCommand() must be
> called with CAPIApplication instance as first
> argument (got str instance instead)'
> Now, I think that it is actually wingapi.gApplication (not
> CAPIApplication) -- which seems to work, but I'm not sure.
Yes, it should be wingapi.gApplication -- that's a typo in the docs.
More information about the wingide-users