fielmann Posted March 24, 2008 Share Posted March 24, 2008 Hello autoit-friends! ;~~~~~~~~~~~~~~ $sProfile = ' -P "default"' $sHKLM = "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox" $sVersion = RegRead($sHKLM, "CurrentVersion") $sFFExe = RegRead($sHKLM & "\" & $sVersion & "\Main", "PathToExe") Run('"' & $sFFExe & '" -repl' & $sProfile, "", @SW_HIDE) ;~~~~~~~~~~~~~~ When I start the script the firefox window appears! But I wan't to start with @SW_HIDE !!! Seems that @SW_HIDE will be ignored? Any ideas? Link to comment Share on other sites More sharing options...
fielmann Posted March 24, 2008 Author Share Posted March 24, 2008 I'm using firefox version 2.0.0.12 Any idea why @SW_HIDE don't works? Link to comment Share on other sites More sharing options...
weaponx Posted March 24, 2008 Share Posted March 24, 2008 (edited) Not every program responds to the @SW_* commands.#68040P.S. I know you are deleting your post and reposting it to get a free bump. Edited March 24, 2008 by weaponx Link to comment Share on other sites More sharing options...
NELyon Posted March 24, 2008 Share Posted March 24, 2008 Opt("WinTitleMatchMode", 2) $sProfile = ' -P "default"' $sHKLM = "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox" $sVersion = RegRead($sHKLM, "CurrentVersion") $sFFExe = RegRead($sHKLM & "\" & $sVersion & "\Main", "PathToExe") Run('"' & $sFFExe & '" -repl' & $sProfile) Do Sleep(20) Until WinExists("Mozilla Firefox") WinSetState("Mozilla Firefox", "", @SW_HIDE) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now