StMaSi Posted December 5, 2012 Share Posted December 5, 2012 Windows 7 UltimateInternet Explorer 9Web-Based Citrix GatewayAutoIT v3I have a web-based Citrix gateway I use to remote into my workplace network. After a period of inactivity, a control appears on the web page (attached) that I need to click on in order to extend the timeout before I'm forcibly disconnected. When I use the AutoIt Window Info tool, I am unable to target that control. I'm only able to target the page in general, not any of the links within...doesn't even show up within the hidden text portion of the Info tool. Here's what I get when I target the control on the web page, using IE...it's the same no matter where I target within the page...------------------------->>>> Window <<<<Title: Citrix XenApp - Applications - Windows Internet ExplorerClass: IEFramePosition: 1272, -8Size: 1296, 1000Style: 0x17CF0000ExStyle: 0x00000100Handle: 0x0006027A>>>> Control <<<<Class: Internet Explorer_ServerInstance: 1ClassnameNN: Internet Explorer_Server1Name:Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1]ID:Text:Position: 0, 108Size: 1280, 861ControlClick Coords: 431, 85Style: 0x56000000ExStyle: 0x00000000Handle: 0x00010346>>>> Mouse <<<<Position: 1711, 185Cursor ID: 0Color: 0x9E6240>>>> StatusBar <<<<1:2:>>>> ToolsBar <<<<>>>> Visible Text <<<<Navigation Barhttps : // Citrix . YourDomain . Com / Citrix / XenApp / site / default . aspxAddress Combo ControlPage ControlFavorites and Tools BarITBarHostMenu BarCitrix XenApp - Applications - Windows Internet ExplorerZoom Level>>>> Hidden Text <<<<ITBarHostMenu Bar-------------------------In the end, I'm simply trying to have an AutoIT script running that will automatically click that "more time required" link for me so my connection doesn't time out. Unfortunately, I cannot use the controlclick coordinates as the position/size of my IE window(s) will vary constantly. Any suggestions? Thanx. Link to comment Share on other sites More sharing options...
water Posted December 5, 2012 Share Posted December 5, 2012 The timeout is a security measure, right? Do you think it is sensible to bypass this measure? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Bert Posted December 5, 2012 Share Posted December 5, 2012 (edited) Second that. Ask yourself why it is there from the IT person's perspective. Ask yourself why it is there from a management perspective. Ask yourself why it is there from a security perspective. Ask yourself why it is there from a possible legal requirement perspective. Odds are there are a host of reasons why it is there. If you try to circumvent the security and you are found out ask yourself this one final question: Ask yourself if you are willing to risk getting yourself in trouble with your employer to do this? You willing to possibly risk your job? It is for reasons like that is why we in this forum have a thing about not helping someone to try to get around what you are asking for. Edited December 5, 2012 by scullion The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 5, 2012 Moderators Share Posted December 5, 2012 StMaSi, If you need a longer timeout, then speak to your system admins - we are certainly not prepared to help you on this matter. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts