Using a captured variable in the filenames of a split files filter?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
DFH
Posts: 733
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Using a captured variable in the filenames of a split files filter?

Post by DFH » Thu Aug 31, 2017 2:40 am

Help for the Split files filter indicates that the split filenames can make use of @macro
You can insert macros by preceding their name with @
Is it also feasible to make use of a captured variable in the split filename specifier?

Best regards,

David

User avatar
DataMystic Support
Site Admin
Posts: 2234
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Using a captured variable in the filenames of a split files filter?

Post by DataMystic Support » Tue Sep 05, 2017 10:29 pm

Captured variables and macros share the same namespace, so yes.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 733
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Using a captured variable in the filenames of a split files filter?

Post by DFH » Wed Sep 06, 2017 7:17 pm

Capture text to a variable often requires the use of Restrict to each line in turn.

Would this cause any problems for the Split files filter?

David

User avatar
DataMystic Support
Site Admin
Posts: 2234
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Using a captured variable in the filenames of a split files filter?

Post by DataMystic Support » Wed Sep 06, 2017 9:16 pm

Quite possibly if you are relying on splitting after xx lines, but if you can split on a pattern you can work around this.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests