Skip to main content

Ghost Typing

Ghost typing can be used to launch Notepad++ with an auto-typing text. Use command line arguments -qn, -qt or -qf to trigger it.

This feature was used in the Je suis Charlie edition, and its effect is one of controversial arguments. Some people did panic because of the unusual behaviour. However most of the time the true hackers try to keep a low profile. We are not in a Hollywood movie....
Enough blabla, here is the usage of Ghost typing:

Syntax:
notepad++.exe -qnEasterEggName
EasterEggName: the name of easter egg. Use %20 to replace space character.

notepad++.exe -qtText [-qSpeedX] [-lLang]
Text: given text. Use %20 to replace space character.

notepad++.exe -qfContentFilePath [-qSpeedX] [-lLang]
ContentFilePath: The path of file, absolute or relative. Use %20 to replace space character in ContentFilePath. The content (in ASCII or Unicode) of the file will be shown.

-qSpeedX : optional, won't be applied on -qn. Use this flag if you want to control your display speed. X could be 1 (slow), 2 (fast) or 3 (fastest).
-lLang : optional, won't be applied on -qn. It will make ghost typing apply the syntax highlighting of Lang of your choice.

Samples:
notepad++.exe -qnrandom
notepad++.exe -qnBill%20Gates
notepad++.exe -qtTest%20of%20ghost%20typing%20example. -qSpeed1
notepad++.exe -qfmyFile.txt
notepad++.exe -qfmyVeryLongFile.txt -qSpeed3
notepad++.exe -qfC:\my%20folder\my%20poetries.txt
notepad++.exe -qt#hulk%20{%20height:%20200%;%20width:%20200%;%20color:%20green;%20} -lcss