Sign in to follow this  
Followers 0

how to launch a GUI/console application hidden

2 posts in this topic

Posted

I've done multiple searches on the forum and on google; however, I can't find any discussion about making an autoit script that will allow me to execute an application completely hidden.

The only information I can find is how to hide a GUI window after the application is loaded in memory using WinSetState($title, "", @SW_HIDE)

Ultimately, I would like to make an autoit executable called HideOnExecute.exe that does this:

HideOnExecute.exe mybatchfile.cmd

Thanks in advance,

MKANET

Share this post


Link to post
Share on other sites



Posted

Look at the Run/RunWait/RunAs commands, the final parameter can be @SW_HIDE if you want it to run hidden. Also, _RunDOS is the easiest way of doing it, because it defaults to hiding the program to be ran, but is just a wrapper around the Run command.

Share this post


Link to post
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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.