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 10-07-2009, 04:40 PM
KenRyan KenRyan is offline
Member
 
Join Date: Jan 2009
Posts: 37
Default How Can I Move Cursor Within a Program?

Is there a way to move the cursor from one window to the next in an application (other than Excel or database), WITHOUT inserting mouse movements?

A task I'm working on needs to copy the contents of and Excel cell, and then paste it into a specific window inside an audio editor program (Adobe Audition). There are multiple cells to copy into multiple windows in Adobe, so looping is the best way. But telling Automation Anywhere to "go to the next" Adobe window is VERY difficult (not at all as easy as telling it to go to the next row down in Excel!).

In order to get to get Automation Anywhere to paste the first value into the first Adobe window a matter of a fairly involved keystroke combination (Shift-Tab/Tab/Tab/Home/Tab/Tab). Just to get it to go to the next window in sequence, the required keystrokes would be "Shift-Tab/Shift-Tab/Down-Arrow/Tab/Tab." And it would be slightly different EVERY loop cycle.

Am I missing something obvious here?

Thanks.

I've attached a couple of tasks, the first one actually works...opening both programs, then copying the first cell into the first "Label window" in Adobe. The second task is an experiment I did "recording" the placement of my mouse into a couple of Adobe Windows to see how they were identified by Automation Anywhere, which was able to find distinct names for these windows.

Any help appreciated!

Thanks!

Ken
Attached Files
File Type: atmn excel test.atmn (4.6 KB, 4 views)
File Type: atmn AA paste test2.atmn (25.3 KB, 6 views)

Last edited by KenRyan; 10-07-2009 at 10:08 PM. Reason: Title Change
Reply With Quote
  #2 (permalink)  
Old 10-08-2009, 01:33 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Try using Manage Windows Controls (MWC) command (Available in Automation Anywhere Premier and higher versions) to directly access Windows UI objects like Text Box, Drop Down, List Box, Radio buttons and more.

Please find demo on Manage Windows Control (MWC) command at,
http://www.tethyssolutions.com/MWC_Demo.html

Otherwise, can you close the current adobe window after pasting the value so that in next iteration of loop the next adobe window would become the current window?

If you can upload screenshot of Adobe windows then we can actually see and suggest viable solution.

Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 10-09-2009, 10:06 AM
KenRyan KenRyan is offline
Member
 
Join Date: Jan 2009
Posts: 37
Default

Thanks for the tip. It really does look as though the Premier version would help me. But even though the difference in cost between standard and premier is only $200, the upgrade to premier is $400, and I can't afford it.

So I'm stuck trying to do it with Standard.

You asked: "Otherwise, can you close the current adobe window after pasting the value so that in next iteration of loop the next adobe window would become the current window?"

Actually, I'm having trouble closing Adobe automatically in the task after the first iteration of pasting. It launches the "do you want to save this file" window, and I can't get it to execute a yes or no.

Any other way to do this?

Thanks.

Ken
Reply With Quote
  #4 (permalink)  
Old 10-09-2009, 01:00 PM
KenRyan KenRyan is offline
Member
 
Join Date: Jan 2009
Posts: 37
Default

I DID get Adobe to close after one iteration. But the same series of keystrokes must be executed in order to get the cursor back into the original Adobe window. Then a "different" set of keystrokes must be executed in order to get the cursor into the next Adobe Window. And unfortunately, these label windows are not sequential in Adobe. In other words, there are 5 or six different windows between each label window, requiring a different set of keystrokes every iteration. THAT is what I think is going to make this hard.

I have been able to make some progress in getting two iterations done in one task. But I still am not seeing how I could use the loop command, and not have to type in each of 170 iterations.

I've attached the current task, which successfully:
1. Opens Excel and Adobe
2. Prompts for Adobe file
3. Copies and pastes data from Excel cell into 1st Adobe Label window
4. Moves to the next Adobe Window.

I'll also try to attach a screen pic.

Thanks!

Ken
Attached Images
File Type: jpg Automation_Anywhere_Task_Help_Oct_09.jpg (20.5 KB, 6 views)
Attached Files
File Type: atmn excel test.atmn (7.0 KB, 2 views)
Reply With Quote
  #5 (permalink)  
Old 10-09-2009, 11:53 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

The screenshot is very small to figure out windows and we need to look into the actual scenario so we can suggest the solution.

Can you please email us your contact number so one of our technical experts can contact you for same? You can send your phone number and best time to contact at,
Automation Anywhere - Open A Support Case
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 04:19 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