ChrisMc Posted February 27, 2013 Share Posted February 27, 2013 Hi guys. I have been playing with this cool program today. It rocks! However I have ran into a slight hurdle that even my googling has been fruitless. Basically what I want to do is configure MMC snap-ins to connect to a remote computer. For some of these, like event viewer, you can do it using with simply running "compmgmt.msc /computer=<server>" However for ones like WINS, DHCP no such luck So what I want to do is use Autoit to send keystrokes to configure this for me. So for example here is one I quickly knocked up ShellExecute("C:\Windows\System32\StorageMgmt.msc") WinWaitActive("Share and Storage Management") Send("+{F10}") So basically I want to send Shift F10 to the snap-in and then select Connect to another computer, change the radio button, enter computer name then hit OK. But no matter what I have tried thus far I cannot get it to even send the Shift F10. Id really appreciate any help. 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