hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

saving a filename substring as a user defined variable

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Jun 02, 2009 9:52 am    Post subject: Reply with quote

The variable manipulate task should work here to extract the number part..

The regex needed will depend on the filenames.

does some_name_06012009.xls include special characters or only alphabets and numerals?

does it include multiple _ before 0612... or only 1 _ ?

give examples of actual filenames.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Jun 02, 2009 2:40 pm    Post subject: Reply with quote

>> Is there a way to write into an Automize variable from a script? <<

from an external script/batch file or using the Script task?

Either way, you can get/set a variable.

For external script: see the Utilities menu / Commandline utilities / Set User variable

For script task: see the examples. there is one example on setting/getting variable values.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group