Jump to content

Run with @sw_hide doesn´t work


Recommended Posts

Hi,

I´m running an external program from my script like this :

$foo = run(IniRead($settings,"ConfigGeneral", "MMPath","model.exe"), @ScriptDir, @SW_HIDE)
    WinWaitActive('Modelo Matemático')

this program have an GUI, but i don´t want to display it.

my script doesnt work, i need to put this after :

WinSetState ( "Modelo Matemático", "", @SW_HIDE  )

to not display the GUI of model.exe, but sometimes the GUI appears, i don´t know why ....

how can i disapear it definitely.

thanks

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...