DaLiMan 0 Posted November 5, 2004 Hi, When I run this code the app. doesn't hide?? Any ideas why or how?? RunWait( @Comspec & " /c start Excel.exe ", "", @SW_HIDE) It's almost a replica from the HELP file..... Share this post Link to post Share on other sites
scriptkitty 1 Posted November 5, 2004 (edited) It should hide only the Command interpreter, not Excel. Command Interpreter spawns up Excel, and you didn't have it do so in a hidden window. I guess my question is what is not hidden? the Black Dos box, or Excel? Edited November 5, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Share this post Link to post Share on other sites
JSThePatriot 18 Posted November 5, 2004 Yes the @SW_HIDE the way you are using it only hides the command/dos prompt window. If you want to do something with the Excel window then you may want to check out the start /? because it will show you different options you can use with that. Another option would be to use the run to actually open the excel.exe (you would need the full path of the excel.exe) and then use the @SW_HIDE on the end of that and it will hide the excel window as there will be no other window to hide. Here is an example... Run("C:\Program Files\Microsoft Office\Office10\EXCEL.EXE", "", @SW_HIDE) The above will hide your excel.exe. Hope that helps, JS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites