inspu Posted May 23, 2011 Share Posted May 23, 2011 How I can start Outlook from start Menu using AutoIT? Link to comment Share on other sites More sharing options...
Realm Posted May 23, 2011 Share Posted May 23, 2011 Hello inspu, Welcome to AutoIt! Why do you want to run Outlook from the Start Menu? You can run it from its actual location using the function Run() Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
inspu Posted May 23, 2011 Author Share Posted May 23, 2011 Sorry,Outlook I gave an example. I have a application mtr and after installation this will display in Windows Start. This is located@C:\Program Files\MTR\mtr.msc I need to start this.This tried using Run and Runwait.I could,nt start.Please help me Link to comment Share on other sites More sharing options...
sleepydvdr Posted May 23, 2011 Share Posted May 23, 2011 The run command only works for executables. What you are trying to run has an .msc extension, so you must run it a different way. Try this: Run(@ComSpec & " /c " & @ProgramFilesDir & "\MTR\mtr.msc", "", @SW_HIDE) #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
inspu Posted May 23, 2011 Author Share Posted May 23, 2011 Thanks for the reply,but still this didnt works for me.... I tried Run(@ComSpec & " /c " & @ProgramFilesDir & "\MTR\bin\mtr.msc", "", @SW_HIDE) Correct me if I am wrong... Link to comment Share on other sites More sharing options...
inspu Posted May 23, 2011 Author Share Posted May 23, 2011 One more thing is my application will display in Start->Programs->MTR->mtr. Can start the program from here.. Link to comment Share on other sites More sharing options...
Juvigy Posted May 23, 2011 Share Posted May 23, 2011 Try : Shellexecute("C:\Program Files\MTR\mtr.msc") Link to comment Share on other sites More sharing options...
inspu Posted May 23, 2011 Author Share Posted May 23, 2011 Thanks...it is working...Looks like I came to the right place for starting my automation...AutoIT is a Powerful one and in this forum lot of Masters are available...:-) Link to comment Share on other sites More sharing options...
hannes08 Posted May 23, 2011 Share Posted May 23, 2011 Hello inspu, I would recommend that you take a look at the many tutorials that are available on the web or here in the forum. It makes it a lot easier to learn the language. I wish you a good start with AutoIT. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] 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