CommiC Posted November 28, 2003 Posted November 28, 2003 Can I export to a file where the name is automaticly formed in a format with date/time as in MM-DD-YY-HH-MM and if so, how can I do this? John
BobWeaver Posted November 29, 2003 Posted November 29, 2003 Troi file plug-in or Applescript or Send Message script step.
CommiC Posted November 29, 2003 Author Posted November 29, 2003 I have been trying for some time to do this with the Send Message script step but did not succeed. So the obvious question is, how do I make that work or where can I find the info that tells me that? John
BobWeaver Posted November 30, 2003 Posted November 30, 2003 Since I use a Mac, I'm not the best one to answer this question. My guess is that you may need to create a batch file on the fly with a Rename command in it like so: Rename c:myfolderDefault.txt c:myFolder2003-12-01-01-23.txt You would create the batch file by exporting a single record with a single field containing the data. the Field would be calculated like this: cBatchFileData = "Rename c:myfolderDefault.txt c:myFolder" & DateToText(Status(CurrentDate)) & "-" & Substitute(TimeToText(Status(CurrentTime)),":","-") & ".txt" Then you use the send message step to execute the batch file.
Recommended Posts
This topic is 7665 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now