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 06-12-2009, 09:57 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 456
Default is it possible to set the value of a variable read from a file?

is it possible to set the value of a variable read from a file?

do I have to write a new value back into the file in order to change the value of a variable read from a file?
Reply With Quote
  #2 (permalink)  
Old 06-14-2009, 03:45 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello Phil,

Yes, it is possible to set the value of a variable read from a file (say $GlobalVar$). Using 'Log To File' command, you can update value of $GlobalVar$. You can use this variable value in any number of tasks or sub tasks. The value of $GlobalVar$ will not change until you update the text file.

Text format of 'Log to File' command would appear something like this,

Log to File: GlobalVar=ValuetobeAssigned in "C:\textfile.txt"

Hope that helps.
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 09:17 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