Repeat last action
Are you missing a feature? Request its implementation here.
-
- Posts: 5
- Joined: Sun Feb 23, 2014 1:24 am
Repeat last action
Hi,
In Oxygen XML Author, would it be possible to add a menu option/shortcut key to repeat your last action? This would be similar to the feature provided in Word, which enables you to perform the same operation on bits of text that are selected consecutively. Thanks
In Oxygen XML Author, would it be possible to add a menu option/shortcut key to repeat your last action? This would be similar to the feature provided in Word, which enables you to perform the same operation on bits of text that are selected consecutively. Thanks
-
- Posts: 12
- Joined: Wed Feb 10, 2016 11:32 pm
Re: Repeat last action
This would be a nice enhancement. Several of our writers have also asked for this feature (similar to F4 in Word). Some use cases they have mentioned:
• Insert an element tag (I see you can do this for inline tags already with Ctrl /)
• Remove an element tag
• Apply an attribute
• Insert/delete a table row, insert/delete a table column, merge/split a table cell
Please add our vote for this issue =)
thanks,
Melanie
• Insert an element tag (I see you can do this for inline tags already with Ctrl /)
• Remove an element tag
• Apply an attribute
• Insert/delete a table row, insert/delete a table column, merge/split a table cell
Please add our vote for this issue =)
thanks,
Melanie
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Repeat last action
Hi Melanie,
Right, I also added your vote on the opened issue. If we have any questions about how this could work we'll discuss this more on this thread.
Regards,
Radu
Right, I also added your vote on the opened issue. If we have any questions about how this could work we'll discuss this more on this thread.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Tue Aug 04, 2020 1:58 pm
Re: Repeat last action
Anything new about the "repeat last action"-function? I would second something like this, it's quite useful (and common in Word & Co.), esp. in authormode (when you forgot the sometimes complex keyboard-shortcut for a tailored authormode functionality realised via gui buttons
)
Please add my vote for the issue!
Yours sincerely
Sven

Please add my vote for the issue!
Yours sincerely
Sven
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Repeat last action
Hi Sven,
Thanks for the feedback, I added it to the opened internal issue. So in your case this would be useful after you invoke a toolbar action, right? Does that action perform a surround operation for the selected text? Does it also prompt you to specify what the text should be surrounded with? Do you want the repeat last action to ask you again the same question or to perform the action based on the last answer?
Regards,
Radu
Thanks for the feedback, I added it to the opened internal issue. So in your case this would be useful after you invoke a toolbar action, right? Does that action perform a surround operation for the selected text? Does it also prompt you to specify what the text should be surrounded with? Do you want the repeat last action to ask you again the same question or to perform the action based on the last answer?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Tue Aug 04, 2020 1:58 pm
Re: Repeat last action
Hi Radu,
thanks for your reply. I see, it's a bit more complicated than just plain repetition. Yes, you are right it's mostly about using more or less "complex" commands through the Toolbar in Authormode: for example, I press the button for the command: surround the selected text with the element <person> and a certain attribute, which I have to select also (via a little pop-up window for ex.). Of course there is a shortcut for the command, but I still have to select the attribute every time even it is the same. A repeat-function would repeat the last operation and apply it to the selected text.
thanks for your reply. I see, it's a bit more complicated than just plain repetition. Yes, you are right it's mostly about using more or less "complex" commands through the Toolbar in Authormode: for example, I press the button for the command: surround the selected text with the element <person> and a certain attribute, which I have to select also (via a little pop-up window for ex.). Of course there is a shortcut for the command, but I still have to select the attribute every time even it is the same. A repeat-function would repeat the last operation and apply it to the selected text.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Repeat last action
Hi,
You seem to perform two operations (surround and then set attribute). I think in your case something like macro recordings would help, so a feature which would allow you to press a record button, perform the multiple actions, stop recording and then play again the actions later.
About your particular use case of surrounding with an element and then setting an attribute, you can also create an Oxygen code template:
https://www.oxygenxml.com/doc/versions/ ... ting2.html
Code templates can use inside them editor variables like ${selection}, so you can create a code template content like this:
or if you want to be asked for the id attribute value every time, use another Oxygen editor variable which shows a dialog to the end user:
Regards,
Radu
You seem to perform two operations (surround and then set attribute). I think in your case something like macro recordings would help, so a feature which would allow you to press a record button, perform the multiple actions, stop recording and then play again the actions later.
About your particular use case of surrounding with an element and then setting an attribute, you can also create an Oxygen code template:
https://www.oxygenxml.com/doc/versions/ ... ting2.html
Code templates can use inside them editor variables like ${selection}, so you can create a code template content like this:
Code: Select all
<person id="test">${selection}</person>
Code: Select all
<person id="{ask('ID Attribute Value?')}">${selection}</person>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service