Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-31-2011, 05:55 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default ? how to disable an ADD-in in MS IE explorer?

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: ===================
Reply With Quote
  #2 (permalink)  
Old 02-02-2011, 12:32 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

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.
Attached Files
File Type: atmn AddonUsingIR.atmn (33.3 KB, 0 views)
Reply With Quote
  #3 (permalink)  
Old 02-02-2011, 03:10 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

I ended up using a variation withe ERROR HANDLING which would try to do the disable, but, if a window didn't open would trigger the error and continue.
Phil
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 07:38 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved