airnote.ahk - instant note taking!

Post your working scripts, libraries and tools
Kasper Hviid
Posts: 2
Joined: 10 Jan 2016, 12:23

airnote.ahk - instant note taking!

04 Jan 2017, 06:45

AIRNOTE let you quickly type down a note. What you type is not displayed, but instantly appended to a text file. Good for non-obstructive note taking, since it wont steal focus from the window you're currently at. Also, you don't have to consider what people around you think about what you write, since it isn't displayed on screen.

HOW TO USE:
1) Press left Win-Key + Enter to initiate. (Notice the thingie in the middle of the screen.)
2) Write whatever you feel like (It won't be seen on the screen)
3) Press ENTER to append what you write to a file called C:\Users\[your profile]\Desktop\airnote.txt

ADVANCED FEATURES:
Type airdate to input the current date and time.
Type airbreak to add a line break.
Type airnote to open the note in your default text editor.
Type airbox to let what you write be displayed in a popup warning box.

I wrote this script at december 15, 2016, when I was stuck 5 hours in a train station with nothing to do ... I got the input to actually work the day after.


Code: Select all

/*
AIRNOTE let you quickly type down a note. What you type is not displayed, but instantly appended to a text file. Good for non-obstructive note taking, since it wont steal focus from the window you're currently at. Also, you don't have to consider what people around you think about what you write, since it isn't displayed on screen.

HOW TO USE:
1) Press left Win-Key + Enter to initiate. (Notice the thingie in the middle of the screen.)
2) Write whatever you feel like (It won't be seen on the screen)
3) Press ENTER to append what you write to a file called C:\Users\[your profile]\Desktop\airnote.txt

ADVANCED FEATURES:
Type airdate to input the current date and time.
Type airbreak to add a line break.
Type airnote to open the note in your default text editor.
Type airbox to let what you write be displayed in a popup warning box.

I wrote this script at december 15, 2016, when I was stuck 5 hours in a train station with nothing to do ... I got the input to actually work the day after.

Code by Kasper Hviid
[email protected]
Copyright status: Public Domain

*/


#SingleInstance force

LWin & Enter::
	SplashTextOn
	FormatTime, CurrentDateTime,, dd MMM yyyy HH:mm
	Input, NoteVar, C, {Enter}{Escape}{LWin}
	StringReplace, NoteVar, NoteVar, airbreak, `n, All
	StringReplace, NoteVar, NoteVar, airdate, %CurrentDateTime%, All
	if NoteVar = airnote
	{
		Run Edit "C:\Users\%A_UserName%\Desktop\airnote.txt"
	}
	else IfInString, NoteVar, airbox
	{
		StringReplace, NoteVar, NoteVar, airbox, , All
		SplashTextOff
		MsgBox, 16, Warning, %NoteVar%
	}
	else
	{
		FileAppend, %NoteVar%`n, C:\Users\%A_UserName%\Desktop\airnote.txt
	}
	SplashTextOff
Return


User avatar
iilabs
Posts: 179
Joined: 07 Jun 2020, 16:57

Re: airnote.ahk - instant note taking!

29 Aug 2020, 11:03

Very cool. Thanks you for this! Anyway you can make the note taking feature to automatically popup to write something lets say after every 10 scrolls rather than a hotkey?
daywalker
Posts: 23
Joined: 18 Jun 2019, 01:37

Re: airnote.ahk - instant note taking!

02 Sep 2020, 03:27

NIce work, but change

Code: Select all

C:\Users\%A_UserName%\Desktop\

to

Code: Select all

%A_Desktop%\
for users where Username <> Profilename (or Userprofile is on D:)

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 22 guests