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

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dfhtextpipe
Posts: 987
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

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

Post by dfhtextpipe »

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
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
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 »

Captured variables and macros share the same namespace, so yes.
dfhtextpipe
Posts: 987
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 dfhtextpipe »

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
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
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 »

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