insert datetime format

Make a request or discuss new features.
Post Reply
akari
Posts: 22
Joined: 16 Aug 2013 09:07

insert datetime format

Post by akari »

Possible to add a setting let the user configure the insert datetime format
e.g. YYYY-mm-dd, dd/mm/YY HH:ii:ss
Last edited by akari on 20 May 2020 02:52, edited 1 time in total.

User avatar
pjj
Posts: 1784
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: insert datetime format & mutli clipboard copy paste

Post by pjj »

akari wrote:
19 May 2020 03:36
Possible to add a setting let the user configure the insert datetime format
e.g. YYYY-mm-dd, dd/mm/YY HH:ii:ss
You can do this already by defining a custom Text Clip (View > Panels > Text Clips):
textclip.png
textclip.png (5.95 KiB) Viewed 1636 times
I have assigned F5 shortcut to it, so whenever I press F5, today's date in desired format (in my case yyyy-mm-dd) is inserted at caret position. (More formatting options is described in the online help.)

Would you please post separate feature requests into separate threads? It would be easier to answer and follow them :wink:
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

akari
Posts: 22
Joined: 16 Aug 2013 09:07

Re: insert datetime format & mutli clipboard copy paste

Post by akari »

Ah, sorry about that.. i can't edit the post now..
clip.png
clip.png (14.38 KiB) Viewed 1630 times
Don't know why I can't use the shortcut key for it.
In the attached picture, I need to type "date2S" and press shift+enter then it will be working fine.

Suggest change the datetime format is because clip only can use in 1 file type only. if you work on multiple files, you need defined multiple clips.

User avatar
pjj
Posts: 1784
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: insert datetime format & mutli clipboard copy paste

Post by pjj »

akari wrote:
19 May 2020 10:10
Don't know why I can't use the shortcut key for it.
Do you mean you can't use F5? That's because it's already assigned to TimeDateAction; you need to go to Environment > Customize keyboard, remove it, and then assign in Text Clip window to your newly created clip.
akari wrote:
19 May 2020 10:10
Suggest change the datetime format is because clip only can use in 1 file type only. if you work on multiple files, you need defined multiple clips.
You can use text clips in any file.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

akari
Posts: 22
Joined: 16 Aug 2013 09:07

Re: insert datetime format & mutli clipboard copy paste

Post by akari »

pjj wrote:
19 May 2020 10:31
akari wrote:
19 May 2020 10:10
Don't know why I can't use the shortcut key for it.
Do you mean you can't use F5? That's because it's already assigned to TimeDateAction; you need to go to Environment > Customize keyboard, remove it, and then assign in Text Clip window to your newly created clip.
No, I remove the F5 before I assign, also tried other key also
You can use text clips in any file.
But have to create the folder under each language.
clip.png
clip.png (4.07 KiB) Viewed 1615 times

User avatar
pjj
Posts: 1784
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: insert datetime format & mutli clipboard copy paste

Post by pjj »

akari wrote:
19 May 2020 15:50
But have to create the folder under each language.
No, you don't have. You're adding text clips under "Abbreviations", but you may add folders below it, and insert clips right into these folders:
textclip2.png
textclip2.png (2.54 KiB) Viewed 1612 times
These clips will run irrespective of file type/highlighter.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

akari
Posts: 22
Joined: 16 Aug 2013 09:07

Re: insert datetime format & mutli clipboard copy paste

Post by akari »

The attachment clip.png is no longer available
The attachment clip2.png is no longer available
I create another one under a new folder
clip.png
clip.png (16.64 KiB) Viewed 1595 times
when i press F5, it show me ?[[date]],
when I type and press shift+enter, nothing happen,
it only work when i open the text clips panel and double click on the clip

User avatar
pjj
Posts: 1784
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: insert datetime format

Post by pjj »

:?
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

Post Reply