proyb2 Posted November 25, 2005 Share Posted November 25, 2005 How do I use the Windows Start Menu Run without the dialog... the advantage is that, it would execute other than exe files like doc, xls...therefore would able to focus/activate in the MS office in Single Document Interface as it would be impossible in AutoIT bulit-in command Link to comment Share on other sites More sharing options...
BigDod Posted November 25, 2005 Share Posted November 25, 2005 How do I use the Windows Start Menu Run without the dialog... the advantage is that, it would execute other than exe files like doc, xls...therefore would able to focus/activate in the MS office in Single Document Interface as it would be impossible in AutoIT bulit-in commandTry #include <Process.au3> _RunDos("start Http://www.autoitscript.com") Straight from the help file. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
proyb2 Posted November 25, 2005 Author Share Posted November 25, 2005 C:\Program Files\AutoIt3\Include\Process.au3 (42) : ==> "Case" statement with no matching "Select" statement.: Case 0x00000040 i got this error in SciTE editor? using stable and beta built Link to comment Share on other sites More sharing options...
Developers Jos Posted November 25, 2005 Developers Share Posted November 25, 2005 C:\Program Files\AutoIt3\Include\Process.au3 (42) : ==> "Case" statement with no matching "Select" statement.: Case 0x00000040i got this error in SciTE editor? using stable and beta built Try it with Alt+F5 (Run BETA version of AutoIt3) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
proyb2 Posted November 25, 2005 Author Share Posted November 25, 2005 #include <Process.au3> _RunDos("start Http://www.autoitscript.com") when execute the same excel file more than once in MS office 2003...I got an error that the file can only be open once... my wish is that, i wanted to run as many time using existing Excel file without an error prompt like C:\book1.xls Link to comment Share on other sites More sharing options...
Developers Jos Posted November 25, 2005 Developers Share Posted November 25, 2005 (edited) #include <Process.au3> _RunDos("start Http://www.autoitscript.com") when execute the same excel file more than once in MS office 2003...I got an error that the file can only be open once... my wish is that, i wanted to run as many time using existing Excel file without an error prompt like C:\book1.xls Excel will have to open the file in Read-Only mode or you have to make the SpreadSheet Shared.... To open files in Readonly mode you need to open it with "Excel /r sheetname.xls" Edited November 25, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LxP Posted November 26, 2005 Share Posted November 26, 2005 In addition to the suggestions above you may want to give SlimShady's _ShellExecute() UDF a try. 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