Sign in to follow this  
Followers 0
Richard Robertson

WinList Function

12 posts in this topic

In the AutoItX I noticed that there is no WinList function to get all the windows. I was really hoping it would be there. Even if all it did was return the string titles and texts of the windows it would be nice. What I'm working on is a Text to Speech application and I was thinking of adding narration support for reading window text.

If anyone knows of a function I can link to to get the windows without AutoItX, that helps too.

Share this post


Link to post
Share on other sites



Oh, thanks. If only I could figure out how to implement functions like those in C#...

Share this post


Link to post
Share on other sites

I don't know how to make .NET ActiveX components. That looks like it was made for VB6. Thanks for trying though.

Share this post


Link to post
Share on other sites

I don't know how to make .NET ActiveX components. That looks like it was made for VB6. Thanks for trying though.

I too would love to have WinList working. It would be just for education in scripting in the WSH environment.

There is a way to obtain all Explorer/Internet Explorer windows, using "Shell.Application".

The headings are "Scriptable Shell Objects" and "Internet Explorer Object "at various spots in MSDN, but this does not obtain other open application windows.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

In the AutoItX I noticed that there is no WinList function to get all the windows. I was really hoping it would be there. Even if all it did was return the string titles and texts of the windows it would be nice. What I'm working on is a Text to Speech application and I was thinking of adding narration support for reading window text.

If anyone knows of a function I can link to to get the windows without AutoItX, that helps too.

maybe this link is useful http://www.jsware.net/jsware/scripts.php3 look for jssys3.dll

Edited by PeterSwiss

Share this post


Link to post
Share on other sites

I don't know how to make .NET ActiveX components. That looks like it was made for VB6. Thanks for trying though.

um - vb6 activex will work in .Net

Share this post


Link to post
Share on other sites

maybe this link is useful http://www.jsware.net/jsware/scripts.php3 look for jssys3.dll

Am I going nuts, or did whoever that runs that site do a little, well not a redesign - but didnt it used to be purple ?

Share this post


Link to post
Share on other sites

um - vb6 activex will work in .Net

... and the way I said that - I sound like an idiot

Should have said - there is no such thing as vb6 ActiveX - there is com, and there is well, com+, but there is no distintion such as vb6 Activex - or any other specific language - if it has a com interface - it can use it.

Share this post


Link to post
Share on other sites

use Wscript.shell Object then u teh windows method to enumerate all windows :P


http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32]

Share this post


Link to post
Share on other sites

use Wscript.shell Object then u teh windows method to enumerate all windows :lmao:

My WScript.Shell object does not have a Windows() method. Can you make an example and what is your OS? There is a Windows() method in the Shell.Application object, but it is for a list of Explorer and Internet Explorer (i.e. folder and browser windows). :P

Peter.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0