Jump to content
Sign in to follow this  
JLanning

Run vs. Start Run

Recommended Posts

I'm working on a program to guide users through a change of a sound setting on their computers, the problem I'm having is if I open the sound properties with a compiled autoit EXE one of the tabs at the top of the properties window are missing.  

Run("control mmsys.cpl sounds")
Run(@ComSpec & " /c " & 'control mmsys.cpl sounds',"", @SW_HIDE)
RunAs("student", @ComputerName, "", $RUN_LOGON_NOPROFILE, "control mmsys.cpl sounds", "")
ShellExecute("test.bat","","C:\Users\Student\temp")

I've tried all these different options and none of them will open the properties the correct way.  

Any help would be awesome, thanks in advance.

 

Share this post


Link to post
Share on other sites

Hi @JLanning, and welcome to the AutoIt forums :welcome:
Which tab is missing?
 


Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...