Use autohotkey to create your own notebook

Source: Internet
Author: User

If you want me to select one of my most common WindowsProgramIt must be notepad. In fact, I put its shortcuts in the Quick Start column to open it at any time. Easily record a variety of things: URLs, keywords,Code......

However, this mode has a big problem, that is, there is no record. In fact, many of the things that have been pasted on notepad are useful, but if you want to save them every time, select a directory, naming and managing is a big problem. I have always had an idea. I want to find a software. It's easy to paste the text, but it must be able to run quickly, automatically record, and manage a large amount of data. Even the idea of writing a program on your own.

Today, I have time to solve this problem. In fact, when talking about software, the Evernote that I use most now fully meets the requirements. It is the note software and is automatically saved, there is no problem with saving a large number of texts. Finally, there is only one problem: en is a little troublesome. It takes two steps to open the new window (I want to see a window similar to notepad, double-click the mouse or press Alt + enter. Considering that this action is very common, I hope it can be simpler. However, the option does not seem to have the function of automatically opening a new window. So when we think about using third-party tools, we first think about autohotkey, which was introduced by niche software. We look forward to it, but we don't have time to study it. Http://www.appinn.com/autohotkey-all-in-one/

After one night's research, a script was finally created. Press win + Z to open a new window automatically, and then press and open again.

The script is as follows:

 

# Z:; open a draft.

Ifwinexist, Evernote-draft; if enabled, return to the main program; otherwise, open the program
Winactivate
Else
Run E: \ document \ note \ CG. ENB

Winwait, Evernote-Draft,; wait for the program to run
 
Send, {altdown} {enter} {altup}; create a draft window
Winwait, <new note>-Evernote,

Below is to minimize the main program, the nitpicking person may need to, just cancel the comment
; Ifwinnotactive, Evernote-Draft, winactivate, Evernote-draft,
; Winwaitactive, Evernote-draft,
; Send, {altdown} {space} {altup} n; minimize the main program

Return

 

Note: Ahk comes from niche, and Evernote comes from the thin Chinese version (the feature is powerful after en to 3, but it does not seem to be usable. I can only continue to use 2 ).

Draft this file: http://files.cnblogs.com/jetz/note.7z, path in E: \ document \ note \, if not, modify the script.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.