피신 연속열

The escape character ` (back-tick or grave accent) is used to indicate that the character immediately following it should be interpreted differently than it normally would. This character is at the upper left corner of most English keyboards.

In AutoHotkey the following escape sequences can be used (when the accent is the escape character):

연속열 결과
`,

, (글자 그대로의 쉼표).

Note: Commas that appear within the last parameter of a command do not need to be escaped because the program knows to treat them literally (but it is best to escape them anyway, for clarity). MsgBox의 모든 매개변수에도 마찬가지 규칙이 적용됩니다. 왜냐하면 똑똑한 쉼표 처리 방법을 알고 있기 때문입니다.

`% % (글자 그대로의 퍼센트)
`` ` (글자 그대로의 액센트; 즉, 두 개의 연속 피신 연속열은 하나의 글자 그대로의 문자가 결과가 됩니다.)
`;

; (글자 그대로의 쌍반점)

Note: It is not necessary to escape a semicolon which has any character other than space or tab to its immediate left, since it would not be interpreted as a comment anyway.

`:: :: (글자 그대로의 쌍점 쌍). [v1.0.40+]: It is no longer necessary to escape these, except when used literally in a hotstring's replacement text.
`n 새줄 (라인피드/LF)
`r 캐리지 리턴 (CR)
`b 백스페이스
`t 탭 (전형적인 수평 탭)
`v 수직 탭 -- Ascii 값 11에 상응. 어떤 어플리케이션에서는 Ctrl+K를 타자해 명확하게 밝힐 수 있습니다.
`a 벨소리 (bell) -- Ascii 값 7에 상응. 어떤 어플리케이션에서는 Ctrl+G를 타자해 명확하게 밝힐 수 있습니다.
`f 폼피드 -- Ascii 값 12에 상응. It can also be manifest in some applications by typing Ctrl+L.
"" 표현식 안에서, 기호 그대로의 문자열 안에 둘러 싸인 두 개의 연속 따옴표는 문자 그대로의 하나의 따옴표로 결정됩니다. 예를 들어: Var := "The color ""red"" was found.".

논평

Send 명령어핫스트링이 기본 모드 (비-날 모드)에서 사용될 때, {}^!+#와 같은 문자들은 특별한 의미가 있습니다. 그러므로, 이런 경우 문자 그대로 사용하려면, 활괄호로 둘러 싸십시오. 예를 들어: Send {^}{!}{{}.

예제

Reports a multi-line string. The lines are separated by a linefeed character.

MsgBox % "Line 1`nLine 2"