![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I've run into a snag while trying to disable an ADD-IN in internet explorer. I want the code to work whether or not the add-in has ALREADY been disabled. I would have used a MANAGE WINDOW CONTROLS to capture the control to tell me if add-in is already disabled, but, the MANAGE WINDOW CONTROLS can't find the window. Can you give me a mitigation? Text of atmn follows: 1 Delay: (200 ms) 2 Comment: ------------------------------ 3 Comment: =================== trying to disable ADOBE helper in IE8 4 Loop While Window Exists ("Disable Add-on") 5 Delay: (200 ms) 6 If Window Exists ("Disable Add-on") Then (Wait up to 1 seconds - for Window to exist) 7 Keystrokes: [ALT DOWN][F4][ALT UP] in "Disable Add-on" 8 Delay: (200 ms) 9 End If 10 End Loop 11 Delay: (200 ms) 12 Loop While Window Exists ("Manage Add-ons") 13 Delay: (200 ms) 14 If Window Exists ("Manage Add-ons") Then (Wait up to 1 seconds - for Window to exist) 15 Keystrokes: [ALT DOWN][F4][ALT UP] in "Manage Add-ons" 16 Delay: (200 ms) 17 End If 18 End Loop 19 Delay: (200 ms) 20 Keystrokes: [WIN DOWN]r[WIN UP] in "Desktop" 21 Delay: (200 ms) 22 Keystrokes: iexplore.exe in "Run" 23 Delay: (200 ms) 24 Keystrokes: [ENTER] in "Run" 25 Delay: (200 ms) 26 Comment: ------------------------------ 27 Keystrokes: [ALT DOWN]ta[ALT UP] in "*Windows Internet Explorer*" 28 Delay: (2000 ms) 29 Keystrokes: [TAB] in "Manage Add-ons" 30 Delay: (2000 ms) 31 Keystrokes: [TAB] in "Manage Add-ons" 32 Delay: (2000 ms) 33 Keystrokes: [DOWN ARROW] in "Manage Add-ons" 34 Delay: (2000 ms) 35 Keystrokes: [ALT DOWN]b[ALT UP] in "Manage Add-ons" 36 Delay: (200 ms) 37 Loop While Window Does Not Exist ("Disable Add-on") 38 Delay: (500 ms) 39 End Loop 40 Delay: (200 ms) 41 Keystrokes: [ENTER] in "Disable Add-on" 42 Delay: (200 ms) 43 Message Box: "test" 44 Comment: ================ 45 Comment: =================== |
| |||
|
Hello Phil, Incase manage window control is not identifying the window title for you, we recommend you to please try using Image Recognition command to identify if the selected Add on is “Enabled or disabled”. We have prepared a sample task using Image Recognition command. Please find the task attached with the post. Follow below mentioned instruction to run task successfully: Download and save the task at My Documents\Automation Anywhere\Automation Anywhere\My Tasks (Default location). Launch Automation Anywhere, select the task and click on edit. You are required to recapture the images at line number 27 and 29. Currently the IR is containing images captured based on our systems screen resolution. Save the changes and run the task. Please let us know how it goes. |
![]() |
| Thread Tools | |
| Display Modes | |
| |