Richard Robertson Posted November 30, 2005 Posted November 30, 2005 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.
piccaso Posted November 30, 2005 Posted November 30, 2005 try GetWindow or EnumWindows CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
Richard Robertson Posted December 1, 2005 Author Posted December 1, 2005 Oh, thanks. If only I could figure out how to implement functions like those in C#...
Zach Posted December 3, 2005 Posted December 3, 2005 Grab something likehttp://www.vb-helper.com/howto_list_toplevel_windows.htmlthen just change it into an activeX dll or ocx, then you got a toy to easily use in c#
Richard Robertson Posted December 4, 2005 Author Posted December 4, 2005 I don't know how to make .NET ActiveX components. That looks like it was made for VB6. Thanks for trying though.
PeterSwiss Posted December 28, 2005 Posted December 28, 2005 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.
PeterSwiss Posted December 29, 2005 Posted December 29, 2005 (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 December 30, 2005 by PeterSwiss
Zach Posted January 5, 2006 Posted January 5, 2006 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
Zach Posted January 5, 2006 Posted January 5, 2006 maybe this link is useful http://www.jsware.net/jsware/scripts.php3 look for jssys3.dllAm I going nuts, or did whoever that runs that site do a little, well not a redesign - but didnt it used to be purple ?
Zach Posted January 5, 2006 Posted January 5, 2006 um - vb6 activex will work in .Net... and the way I said that - I sound like an idiotShould 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.
WSCPorts Posted January 8, 2006 Posted January 8, 2006 use Wscript.shell Object then u teh windows method to enumerate all windows 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]
PeterSwiss Posted January 8, 2006 Posted January 8, 2006 use Wscript.shell Object then u teh windows method to enumerate all windows 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). Peter.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now