Jump to content

Need help getting full-screen window to come to front


Recommended Posts

Hello again. 

I need help getting a full-screen application to come to front. I've tried 'maximize' flags and WinActivate, but the full-screen programming environment im trying to get to come to front doesn't come to front.

How do people usually get an application that is full-screen come to front & active with with autoit? I can set the full-screen application to not be full-screen, but that sets new problems with how i use it, so it needs to be full-screen. 

 

Opt("WinTitleMatchMode", 2)
if ProcessExists("notepad.exe") Then
    winactivate("notepad")
EndIf

Sleep(1500)

; Wait 4 seconds 
WinActivate("Sublimetext")
;WinSetState("Sublimetext", "", @SW_MAXIMIZE)

 

 

 

 

 

Link to comment
Share on other sites

  • Developers

You did not read those rules .... so try again, and this time read the carefully as the next offense means being send to the naughty spot for a while. 
... and don't try posting a new thread which even vaguely looks like the first 2.

Clear?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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