Page 1 of 1
Is there a Macro Recording for Repeated Tasks???
Posted: Tue Dec 03, 2019 1:23 am
by jjdave
HI All,
I have a following Tag Structure:
Code: Select all
<step>
<cmd>XXXXX</cmd>
<info>
<fig><Title>XXXXX</title></fig>
</Info>
</step>
All the information with the X's can be changed...
I repeat above Tag Structure 100s of times. Is there a easier way???
Is there a way to automate this tasks by creating & running the Macros or Scripts?
Thank you.
Re: Is there a Macro Recording for Repeated Tasks???
Posted: Tue Dec 03, 2019 3:08 pm
by DmitryS
Hi!
If your files have exacly the same structure, and it's possible to organize XXX as one row, maybe there's a reason to make a table with columns:
filename
cmd
title
and process it with MS SQL Server Cursor function. I made it once, 200 files per second.
Regards,
Dmitry
Re: Is there a Macro Recording for Repeated Tasks???
Posted: Tue Dec 03, 2019 3:13 pm
by Radu
Hi,
You can create code templates and use them in the editing area:
https://www.oxygenxml.com/doc/versions/ ... ting2.html
Inside those code template you can use editor variables which automatically get expanded by Oxygen on insert:
https://www.oxygenxml.com/doc/versions/ ... ables.html
There is an "ask" editor variable allowing you to pop up a dialog requiring the end user to insert a value every time the code template is inserted.
Regards,
Radu
Re: Is there a Macro Recording for Repeated Tasks???
Posted: Wed Dec 04, 2019 7:49 pm
by jjdave
Hi All,
Appreciate your response.
I just started using Oxygen XML Editor, so this is a bit advance level for me. But I will practice more and become better.
This was my first post, sorry for the double post.
Once again, thank you.
JJDave.