...INPUT ARRAY BEFORE INPUT CALL action_text_set("key_f7", "Details")......INPUT ARRAY BEFORE INPUT CALL action_text_set("key_f7", "Text")... #+ action_text_set Change the text attribute of a given actionFUNCTION action_text_set(action, text)DEFINE action, text STRINGDEFINE n om.DomNode LET n = action_node_get(action) IF n IS NOT NULL THEN CALL n.setAttribute("text", text) END IFEND FUNCTION FUNCTION action_node_get(name)DEFINE name STRINGDEFINE w ui.WindowDEFINE n,f om.DomNodeDEFINE nl om.nodeList LET w = ui.Window.getCurrent() LET n = w.getNode() LET nl = n.selectByPath(SFMT("//Action[@name=\"%1\"]",name)) IF nl.getLength() != 1 THEN LET nl = n.selectByPath(SFMT("//MenuAction[@name=\"%1\"]",name)) END IF IF nl.getLength() = 1 THEN LET f= nl.item(1) END IF RETURN fEND FUNCTION