Jump to content

Search the Community

Showing results for tags 'inactivewindow'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 2 results

  1. Here is the below code for handling pop-up when window is inactive ..but I don't know how to change sleep and when i run this script it runs sometimes and sometimes it stops . ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{SPACE}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{DOWN}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{ENTER}") --- these 3 lines never worked while TAB lines works sometimes but not in accurate way I am new too AutoIt .. help me out why this script behaves in strange way ControlFocus("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog", "", "Internet Explorer_Server1","1") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog", "", "Internet Explorer_Server1","the request is send") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{SPACE}") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{DOWN}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") Sleep(3000) ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{TAB}") ControlSend("Policy Decisions -- Webpage Dialog","","Internet Explorer_Server1","{ENTER}")
  2. Hello, I've been trying to automate a process to check in the GUI of a Java program for a certain condition. When I use the Autoit Window information tool I don't get anything under the control tab, which seems to be normal for a Java program. I've been able to automate what I need using ControlSend and checking for the condition using ImageSearch but the Java program will not accept ControlSend unless it is the active window. I'd like to run the script while the window is inactive so I can still use the PC but haven't been able to come up with a solution other than a virtual machine. I even tried sysinternals desktops to create a second virtual desktop but that just causes WinActivate to return a failure after you switch to another virtual desktop. Does anyone have any ideas for getting a window to think its active when its not or an alternative to ControlSend that may work? Thanks.
×
×
  • Create New...