Intelligent Automation & Macro Software  

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

Workspace Macro Post messages and questions related to Macro Recorder or Windows Macro here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-05-2011, 09:41 AM
omacron77 omacron77 is offline
Junior Member
 
Join Date: Jan 2011
Posts: 1
Question Working with mutiple files

Can someone explain to me if and how to have Workspace Pro select a file to work with, do what ever process the macro is designed to do and then select the NEXT file in sequence and then continue?

I can create the macro to select a file, do its processing but of course when it repeates it selects the same file not the next one. I want it to increment to the next file in the folder for processing.

Can anyone offer any insite to this?
Reply With Quote
  #2 (permalink)  
Old 01-05-2011, 04:41 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello,

We would like to suggest you to try using Keystrokes rather than mouse clicks, as mouse clicks are specific to screen coordinates and if you move your mouse while the macro runs, it will lose its trajectory and ultimately result into failure of macro. Keystrokes do not depend on screen coordinates and provides us flexibility to use it for different files.

For example in your case, follow bellow mentioned steps:
  1. Keep that folder open where your files are placed and select first file.(Please make sure the files are in list view for better navigation of keystrokes)
  2. Start recording macro.
  3. Using the keystrokes like ENTER (to open file), Ctrl+A (to select all content), Ctrl+C (to copy content), Alt+ [Tab](To navigate to another file), Ctrl+V(past copied values), Altr+F4(to close the file ) and so on to make your task work accordingly.
  4. Once we are done with our required process use, return to the folder where the file is being selected. Finally hit “Down arrow” key so that the next file is selected and stop the recording.
  5. Now you can set the repeat option for your required number of times and run the macro.
Please let us know how it goes.
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 06:08 PM.


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