nbg15 Posted September 2, 2016 Posted September 2, 2016 Hello everbody... since hours i am trying to close a window *but title changes every time* Opt( "WinTitleMatchMode", 2 ) WinClose("part of title") this works fine for some "normal" windows but this window is different... ----> i can get the handle but also the handle changes every time... so my last idea is to close the window by the size *because the window has every time the same size* but how can I close a window by a special size?? Thanks for all your hints and help... bye Alex
Moderators JLogan3o13 Posted September 2, 2016 Moderators Posted September 2, 2016 What is the application? Can you give a screenshot example of what the window looks like? Even if the title changes, is there text in the window that is consistent? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
spudw2k Posted September 2, 2016 Posted September 2, 2016 (edited) Do you know the process name? Perhaps this will aide. edit: just tested this. I think WinList might have changed iat some point. Providing "" to WinList only returns the active window. Change the line $wins = WinList($winTitle) to $wins = WinList() to return all windows Edited September 2, 2016 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
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