binggie Posted November 3, 2015 Share Posted November 3, 2015 I want to winactivate program and minimize it and then winactivate again as a loops.The problem is this program change title all the time so when title has changed this will make autoit can't winactivate this program.thanks for every replies. Link to comment Share on other sites More sharing options...
Danyfirex Posted November 3, 2015 Share Posted November 3, 2015 check for CLASS name. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted November 3, 2015 Share Posted November 3, 2015 What are some of the titles?Is there anything in common between them? Link to comment Share on other sites More sharing options...
jdelaney Posted November 3, 2015 Share Posted November 3, 2015 (edited) Handles don't change. Use those.If your app does open many windows, each window get's a handle. You can verify that the window is part of your process by using:_WinAPI_GetWindowThreadProcessIdexample:$hGui = GUICreate("Title") GUISetState() ConsoleWrite(WinGetTitle($hGui) & @CRLF) Sleep(1000) WinSetTitle($hGui,"","New Title") ConsoleWrite(WinGetTitle($hGui) & @CRLF) Sleep(1000) WinSetTitle($hGui,"","Another New Title") ConsoleWrite(WinGetTitle($hGui) & @CRLF) Sleep(1000) WinSetTitle($hGui,"","Last New Title") ConsoleWrite(WinGetTitle($hGui) & @CRLF) Edited November 4, 2015 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
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