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 05-27-2010, 06:26 AM
DDuck DDuck is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Default Moving scripts and images to another folder

We have different users that will be doing development work in AutomationAnywhere. We want to do development in our My Documents folder and then move the scripts and images to another folder once they're ready for production. The only problem is that the image paths in the script will be still pointing to C:\My Documents... Is there a way in AutomationAnywhere to move the script and embedded images to another folder without corrupting the script????
Reply With Quote
  #2 (permalink)  
Old 06-01-2010, 02:10 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can change the application path from Tools->Options->Advanced Settings. All of your tasks and images will then be saved in the specified path using Windows Login.

Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 06-02-2010, 06:34 AM
DDuck DDuck is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Default

I'm not sure you understood what we're looking for. We want to do development under our developer's My Documents folder because we may through the course of development create 5 different versions of a script but only the last version will go into production. After development is done we want to move the scripts to a production folder to keep the production folder clean of unwanted development versions.

I think one of the short-comings of AutomationAnywere is that when you copy an AA script it doesn't copy the images from the original script's folder to an image folder of the new copy's folder. If you look at the atmn file in notepad the image path's are "hard-coded" to the orginal script's image folder.

Thanks to all who respond to this post.
Reply With Quote
  #4 (permalink)  
Old 06-02-2010, 02:21 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

What we understand, you are talking about the images that are captured while running the task. What you can do is, insert 'Copy Folder' command as last line of task to copy images folder of respective task into production folder.

We have attached a sample task for our reference. To run this task,

. Please copy it under C:\.
. Edit attached task to change the 'Source Folder' path at line #7 as per your machine configuration.

When you will run this task, it will copy sampletest folder located under 'C:\Users\...\Documents\Automation Anywhere\Automation Anywhere\My Tasks\Images\My Tasks\' to C:\.
Attached Files
File Type: atmn sampletest.atmn (2.6 KB, 2 views)
Reply With Quote
  #5 (permalink)  
Old 06-09-2010, 01:07 PM
DDuck DDuck is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Default

The sample script copies the images from one folder to another but the copied atmn is still going to be pointing to the original folder where the images were first captured. Below is a sample of an atmn file that I got from opening it up in Notepad:

œ˙˙˙Š ’˙˙˙ţ˙˙˙– d  Ÿ C:\Documents and Settings\KTheeck\My Documents\Automation Anywhere\Automation Anywhere\My Tasks\Images\My Tasks\Test x y coordinates\Test x y coordinates_1.png Ÿ C:\Documents and Settings\KTheeck\My Documents\Automation Anywhere\Automation Anywhere\My Tasks\Images\My Tasks\Test x y coordinates\Test x y coordinates_2.png

I suppose I could fix this in two steps. First copy the atmn file and images to a new production folder. Then open the atmn file in notepad and do a search and replace so that I could change the development folder path to the production folder path. I thought there might be an easy way to do this but it appears as though there isn't.

Hopefully someone from AutomationAnywhere can get this change put on the development list.

Thx
Reply With Quote
  #6 (permalink)  
Old 06-09-2010, 03:21 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Thank you for your suggestion.

Yes the sample provided copies images from development folder to production folder. An additional step could be deleting the images from development folder using Delete Files command.

Changing the path in notepad will not reflect in atmn. Task will always save the images to default 'My Images' folder. However, we will certainly forward your requirement, to be able to change the default location of 'My Images' folder to product development team for future release.
Reply With Quote
  #7 (permalink)  
Old 06-11-2010, 08:10 AM
DDuck DDuck is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Default

It would also be nice if you copied the script that it would
1. create a new image folder
2. COPY all the images to this folder
3. Update the copied .atmn file with the new image folder's location.

In addition, if you rename a script I would think it should rename the folder where the images are located (to match the new script name) as well as update the .atmn file with the new image folder's location.

I think this would alleviate confusion when you multiple people doing development or making changes to production scripts.

Thanks for your help.
Reply With Quote
  #8 (permalink)  
Old 06-11-2010, 08:59 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

What we understand you will copy task/script i.e. atmn file from development folder to production folder and run the task from production folder. In that case, any changes to script (renaming or editing) in development folder will not affect script in production folder. You need to copy the script again to production folder if you need those changes.

Now, when you run the task saved in production folder, the images will always be save at default location so through script we will copy the images from default folder into Images folder of production and will delete the images from default folder. Currently, we cannot update the image folder location.

Note: Images we are talking about are the images captured while running the task.
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:25 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