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-28-2008, 08:21 AM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default Log To File, how to insert TAB

Using the Log To File control, can a TAB be inserted into a file? We have successfully entered plenty of text records but would like to format the records for readability.
Reply With Quote
  #2 (permalink)  
Old 10-30-2008, 05:07 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can insert Enter key or comma using 'Log to file' command to format the records. Unfortunately, Tab key cannot be inserted using 'Log to File' command. However, you can open the file and can insert Tab key using keystrokes command.

You can insert Enter key by converting an existing keystroke action into a variable. Simply select the keystroke action and Right-click and select Convert to Variable. Now, use this variable in 'Log to File' command.

Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 10-30-2008, 07:45 AM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

Quote:
Originally Posted by forumsupport View Post

You can insert Enter key by converting an existing keystroke action into a variable. Simply select the keystroke action and Right-click and select Convert to Variable. Now, use this variable in 'Log to File' command.

Hope that helps.
I think what you are saying is that a TAB can be inserted into a variable. I dont follow your instructions, can you be more specific as to which control to use in this manuever?

THanks.
Reply With Quote
  #4 (permalink)  
Old 10-30-2008, 11:32 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

We have attached a sample task to insert a Enter key in a file using 'Log to File' command. Before running this task, please create variable, $enterkey$ through Tools->Variable Manager.

Hope that helps.
Attached Files
File Type: atmn TestLTF.atmn (573 Bytes, 5 views)
Reply With Quote
  #5 (permalink)  
Old 11-03-2008, 10:44 AM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

I downloaded script, created enterkey variable, ran script. It did not work. Could you review this script at your earliest convenience and get back with me?

THank you,
Tom
Reply With Quote
  #6 (permalink)  
Old 11-04-2008, 02:55 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Task that we uploaded works well at our end. Can you please try this?

. Delete Line #1 of task TestLTF.atmn.
. Insert keystrokes command to play Enter in Currently Active Window (as first command of task).
. Right click on Keystrokes command that you inserted just now and select 'Convert to Variable' from context menu.
. Specify variable name, enterkey and click on Save.
. Save the task and run it.

Hope that helps.
Reply With Quote
  #7 (permalink)  
Old 11-04-2008, 08:59 AM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

I was able to follow your instructions to insert [ENTER], as your demonstration script is designed. Trying to insert the [TAB] character I performed the same sequence of steps using TAB not ENTER but got this output, does this prove that a [TAB] can not be inserted into a log file?

[output log file:]

Tethys
[TAB][TAB]Solutions

[end output]
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 08:29 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