Jump to content

Start Menu "Run" dialog with registered file type


proyb2
 Share

Recommended Posts

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

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

Try

#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

  • Developers

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

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

#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

  • Developers

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

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