Re: number of visible rows into macro saving variable [message #2360 is a reply to message #2271] |
Fri, 20 December 2024 09:56   |
juliocoll
Messages: 35 Registered: January 2023 Location: Madrid SPAIN
|
Member |
|
|
In numerous attempts to automatically get a row number to be included into the dwar file name (to be saved inside a DW macro), I got the following "best behaviour":
<macro name="SaveRowCount">
<task name="defineVariable">
name=rowcount
</task>
<task name="showMessage">
message=$rowcount
</task>
<task name="saveFileAs">
fileName=E:\$rowcount.dwar
fileType=dwar
</task>
</macro>
The rowcount name was kindly provided by Norwid B as one of the defined dwar file properties. The showMessage confirms the new name of the file which is then saved on the included dir.......
However, everytime I need to type the rowcount value and give any dir address in the fileName. I would like those to be automatically included to avoid any mistakes !!!!
I tried alternatives to use getRowCount( , PROPERTY_LINE_COUNT, lastRow, etc,.. No sucess.
Any ideas?
MERRY CHRISTMAS !
julio
Julio Coll
Profesor de Investigación. Emérito
Dpt.Biotecnología
CSIC-centro Nacional INIA, Madrid, SPAIN
Dr. Biologia Univ.Comp(UCM). Madrid, Spain
PHD. Biology Mass.Inst,Technol (MIT). Massachusetts, USA
orcid: 0000-0001-8496-3493
|
|
|