I'm trying to record a macro in Arbortext Editor. I need the following:
1) Insert markup pop up window;
2) Choose query from bottom drop down list (I've modified my dcf file to allow datamerge);
3) Select the only query name I got;
4) Click on 'Insert' (or double click on name selected on query name at point 3).
When I start macro recording, the only instance I get in my macro file is '#InsertMarkup' and no more. Also, trying to run it, it doesn't show the insert markup window, although permitted in current position.
I wonder if it is possible or not.
I'm trying to do the same just using a ACL script, called by a customized menu, to avoid any macro management.
I used the insert_tag("atidm:query").
It calls a general query and shows a query attribute popup. I'd like to call query WITH attributes needed (queryName etc.), but I can't understand how to do that. If I add anything else the simple atidm:query instance, editor just doesn't add any string, neither error messages.
Are you using oid_modify_attr() to give a value the the queryName attribute?
Thanks for answering.
No, I didn't, I was using just a call to:
in my acl init script file.
Could you please explain me how to use your line of code?
Manuals don't help so much in term of samples...
Open a document in Arbortext Editor, like the sample axdocbook.
Place the cursor after a para start tag.
From the "Command:" line enter
"role" is the name of the attribute
"bold" is the content
oid_caret() is a function that returns the oid value for the cursor position in the Editor window.
oid_modify_attr NOT oid_modify_addr