[wingide-users] Argument list issues

David Person c.wing at personconsulting.com
Wed Jan 23 10:54:43 MST 2008

OK, thanks.

I'm sure it won't take too long to enumerate, since Wing V2 did it  
fine... for any particular function or application, the number of  
items in the list is less than 50 in almost all cases, never more than  
100 that I've seen.

The introspection in the editor is not really important, since there  
are only a few top-level functions that are not dynamic. Not being  
able to introspect the dynamic object in the editor is obviously  

Take care,


On Jan 23, 2008, at 9:40 a, Wingware Support wrote:

> David Person wrote:
>> Wing 3.0.3 doesn't do introspection on appscript in the editor  
>> window. Is that generally true or did I screw up a setting? Does it  
>> have anything to do with appscript being an 'egg'? It is in / 
>> Library/Python/2.5/site-packages, which is in my python path.
> This may be due to appscript being installed as an .egg file and you  
> probably will get some completion if you install it unzipped.  That  
> said, you won't get dynamic completion based on the application  
> running on your system because that requires a running debug process  
> and may change between the time you write the code and when you run  
> it.
>> Unfortunately introspection in the debug window is one of my  
>> favorite things about Wing 3! In using appscript, introspection is  
>> a wonderful help; the applications I'm connecting to, such as  
>> Adobe's InDesign, have an enormous number of functions and  
>> properties, and introspection is my favorite way to confirm syntax.  
>> The Adobe documentation is for AppleScript and the python syntax is  
>> different.
> As Stephan noted this is a workaround and this issue needs to be  
> better addressed.  It will be in future versions, but unfortunately  
> we don't have access to a time machine to fix it in released  
> versions :).  The workaround is a way to use 3.0 even if you can't  
> use introspection in the debug probe.
> There may also be issues with appscript that prevent all methods  
> being safely enumerated because it may take too long to dynamically  
> query every application.  I have not looked at appscript enough to  
> know that this will be the case, but we know of at least one similar  
> module on Windows where it is a problem.
> Thanks,
> John

More information about the wingide-users mailing list