Uhrzeit
Aktuelle Uhrzeit

Script key: Aktuelle Uhrzeit

Posted by — DI

Install

Details

Label Uhrzeit
Voice Over Aktuelle Uhrzeit
Script
var now = new Date();
var hh =now.getHours();
var mm = now.getMinutes();

if(hh<10) {
    hh='0'+hh
}

if(mm<10) {
    mm='0'+mm
} 

var time = hh+':'+mm;
var selRange = getSelectedRange();
setSelectedText(time);
setSelectedRange(selRange[0]+9,0);

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus