openmolecules.org

 
Home » DataWarrior » Functionality » showing variable txt/values at "showMessage" macros (Trying to show variable txt/values to follow up WP macro code designs)
showing variable txt/values at "showMessage" macros [message #1880] Wed, 26 April 2023 11:46 Go to previous message
juliocoll is currently offline  juliocoll
Messages: 33
Registered: January 2023
Location: Madrid SPAIN
Member
I tried different ways to identify variable txt and/or numeric values in DW macros by showing them using the DW macros "showMessage" to help in the designing of different macro codes.

I ended up experimenting with the simplest following code:

<macro name="Savenombre">
<task name="defineVariable">
name=filename
message= type your name, please....
</task>
<task name="showMessage">
message=$filename.txt?????????
</task>
</macro>

I got being asked and typing the name, but the "showMessage" did not even appeared, no matter what I tried it to type for the message to get the variable text/value (filename, $filename, name, $name, ±txt, etc, etc).....

Is there any other way to do it?
thank you
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Search for "any atom" in structure editor
Next Topic: Add reaction from structure
Goto Forum:
  


Current Time: Thu Nov 21 21:28:54 CET 2024

Total time taken to generate the page: 0.03157 seconds