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
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.
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
![:(](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/sad.png)
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.