inspu 0 Posted May 23, 2011 How I can start Outlook from start Menu using AutoIT? Share this post Link to post Share on other sites
Realm 18 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. Share this post Link to post Share on other sites
inspu 0 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 Share this post Link to post Share on other sites
sleepydvdr 8 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> Share this post Link to post Share on other sites
inspu 0 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... Share this post Link to post Share on other sites
inspu 0 Posted May 23, 2011 One more thing is my application will display in Start->Programs->MTR->mtr. Can start the program from here.. Share this post Link to post Share on other sites
Juvigy 49 Posted May 23, 2011 Try : Shellexecute("C:\Program Files\MTR\mtr.msc") Share this post Link to post Share on other sites
inspu 0 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...:-) Share this post Link to post Share on other sites
hannes08 39 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] Share this post Link to post Share on other sites