Jump to content

Recommended Posts

Posted

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. 

Posted

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

Posted

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>

Posted

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

Posted

One more thing is my application will display in Start->Programs->MTR->mtr.

Can start the program from here..

Posted

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

Posted

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

I wish you a good start with AutoIT.

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

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
×
×
  • Create New...