[wingide-users] Question completing for Microsoft Object Model
reckoner at gmail.com
Mon Apr 4 09:05:49 MDT 2011
On 4/4/2011 8:02 AM, Wing IDE Support wrote:
> On 4/1/11 6:56 PM, reckoner wrote:
>> When I'm using Pythonwin, I can create the following kinds of programs:
>> word = win32.gencache.EnsureDispatch('Word.Application')
>> doc = word.Documents.Add()
>> word.Visible = True
>> rng = doc.Range(0,0)
>> rng.InsertAfter('Hacking Word with Python\r\n\r\n')
>> and I can complete on the individual items. For example, I can do
>> doc.<TAB> and a long list of object properties and methods will appear.
>> Why can I not do this with Wing? I'm using Wing Pro version 3.2.2-1 (rev
>> 21060) (rev 21060) on a 32-bit windows xp machine.
> Do the methods appear in the Wing's Python Shell or Debug Probe? These
> inspect the live runtime state of the process, which I think is what
> Pythonwin does (though it's been years since I looked at it).
No. They do not appear in the shell or the debug probe.
More information about the wingide-users