Jump to content

winsetontop and min

Recommended Posts

I accidentally did this

I tried to minimize my hta window I ordered set on top and the compiled script stalled. However if I rename the window I can minimize it.

Discovered by accident


Here it is using autoitx

oldtitle = oAutoIt.WinGetActiveTitle()

var=oAutoIt.WinSetTitle(oldtitle, "", "Get Path by Kirkham")

oldtitle = oAutoIt.WinGetActiveTitle()

oAutoIt.WinMinimize oldtitle, ""

oAutoit3.runwait localpath&"\modules\MakeDir.exe",""

oAutoIt.WinRestore oldtitle, ""

var=oAutoIt.WinSetTitle(oldtitle, "","Save WebEmail Menu by Kirkham Ver 3")

'winwait("Save WebEmail Menu by Kirkham Ver 3","")

'winactivate("Save WebEmail Menu by Kirkham Ver 3","")


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

  • Recently Browsing   0 members

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