Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (55 sloc) 1.59 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>on alfred_script(q)
set theYear to year of (current date) as string
set theMonth to (month of (current date) as number)
if theMonth &lt; 10 then
set theMonth to "0" &amp; theMonth
set theMonth to "" &amp; theMonth
end if
set theDate to "" &amp; year of (current date) &amp; "-" &amp; theMonth &amp; "-" &amp; day of (current date)
set theHours to (hours of (current date) as number)
if theHours &lt; 10 then
set theHours to "0" &amp; theHours
set theHours to "" &amp; theHours
end if
set theMinutes to (minutes of (current date) as number)
if theMinutes &lt; 10 then
set theMinutes to "0" &amp; theMinutes
set theMinutes to "" &amp; theMinutes
end if
set theTime to theHours &amp; ":" &amp; theMinutes
tell application "nvALT"
tell application "System Events"
keystroke "l" using command down
keystroke theDate &amp; return &amp; return &amp; return
keystroke theTime &amp; " -- " &amp; q
keystroke tab using {command down}
end tell
end tell
end alfred_script</string>
<string>Append to nvALT journal</string>
<string>Append to nvALT journal</string>
Jump to Line
Something went wrong with that request. Please try again.