keyboard shortcut for repeated text

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 13
Joined: Mon Mar 24, 2014 11:22 pm

keyboard shortcut for repeated text

Post by lopresti » Thu Feb 13, 2020 12:56 am

Hi Oxygen,

I'm trying to set up a keyboard shortcut that will insert

Code: Select all

<!-- ${date(yyyy-MM-dd) ${} -->
when I need it. Can you tell me where/how to do this?


Posts: 23
Joined: Wed Jun 22, 2016 2:48 pm

Re: keyboard shortcut for repeated text

Post by adrian_sorop » Thu Feb 13, 2020 1:25 pm

Hi Kate,

You can create a custom Operation that will insert the fragment in Author page.
To create the custom operation, open the Document Type Association Preferences page and double click to edit your current framework.
Go to the Author->Actions tab and create the new action (fill in the ID , Name and Shortcut key fields).

Code: Select all

as Operation.
Edit the fragment argument and set

Code: Select all

<!-- ${date(yyyy-MM-dd)} ${} -->
When the action is invoked, the fragment will be inserted at caret position.


Adrian Sorop
<oXygen/> XML Editor
Adrian Sorop
<oXygen/> XML Editor

Post Reply