nvtc Posted April 13, 2022 Posted April 13, 2022 Hi everyone! So, when I call an rdp file that starts my tool on the terminal server from AutoIt, the I need to enter the password, cause our IT guy apparently set some policy that forbids us from saving the password. Luckily, the moment the rdp login window opens, Roboform opens a small window just below it with a button named "my tool" (that's the name I chose when saving the credentials). That Roboform window has these properties: expandcollapse popup>>>> Window <<<< Title: Class: #32770 Position: 401, 443 Size: 456, 29 Style: 0x96800044 ExStyle: 0x00010084 Handle: 0x0000000000030B8C >>>> Control <<<< Class: Static Instance: 1 ClassnameNN: Static1 Name: Advanced (Class): [CLASS:Static; INSTANCE:1] ID: Text: my tool Position: 54, 5 Size: 82, 17 ControlClick Coords: 55, 13 Style: 0x5400430C ExStyle: 0x00000004 Handle: 0x0000000000010B8E >>>> Mouse <<<< Position: 511, 462 Cursor ID: 0 Color: 0xE2EDFB >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< My tool Save >>>> Hidden Text <<<< Don't save Log in _RoboForm_Dialog_1100973_ When I move AutoIt Window Info's crosshair over the button, I see it's Instance 1. But since I plan to have my colleagues use the script as well, they may save this under another name. So how do I get AutoIt to click that button (which in turn will make Roboform enter the credentials and click enter)? Any suggestions?
Danp2 Posted April 13, 2022 Posted April 13, 2022 Have you discussed your plan with your IT guy? He may not approve and then your effort will be wasted. Latest Webdriver UDF Release Webdriver Wiki FAQs
Moderators JLogan3o13 Posted April 13, 2022 Moderators Posted April 13, 2022 As Danp2 brings out, you are trying to circumvent a security policy put in place by your company. We will not assist with such requests. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Recommended Posts