Jump to content

giving focus to script


MariusN
 Share

Recommended Posts

I have compiled a script that warns if an internet connection gets disabled. The message is a Gui Window that pops up. What i would like to know is, how do i make it to stay as a primary window? What i mean is, lets say a guy watches a movie and the window gets triggered...At the moment it looses focus...I want it to pop up and show and not hiding beneath the movie screen :mellow:

Link to comment
Share on other sites

I keep getting a "Focus lost to autoit3.exe"

this is the settings i used...first one, then both simultaneously

WinSetState("Welcome !!!", "", @SW_SHOW)
WinSetOnTop("Welcome !!!", "", 1)

any other ideas?

( its a "guicreate" that i need to overwrite any other windows screens thats open as well as while mediaplayer is playing...Even if you click on other "Windows's" screens it must still be "dominant")...if its possible?

Edited by MariusN
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...