Macro questions: preserving columnProperty and setting date filter [message #1217] |
Fri, 05 February 2021 16:36 |
Andrew0
Messages: 19 Registered: August 2015
|
Junior Member |
|
|
Hello Thomas,
I have a macro that has the following basic workflow:
- Open a text file
- Apply a template from an existing .dwar file
- Update some filters
I recently discovered the columnProperty field from http://openmolecules.org/forum/index.php?t=msg&goto=765, and am making use of this to link to source data. It seems that when I apply a template that has defined columnProperty values, they are not carried into the new file. Is this expected behavior, or is there a way I can carry these columnProperty values over?
Secondly, one of the filters I update at the conclusion of the macro is a date filter. Does DataWarrior use a standard date format? In the macro the date appears as a float value, which doesn't correspond to date formats that I'm familiar with.
Thank you for your continued development of this tool - it's a huge benefit to the community!
Andrew
|
|
|