Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

Ask for Help (v1) • Adding new lines to Hotstrings

$
0
0
Hello. I would like to create a hot string that will automatically type short sentences with each sentence starting on a new line. For instance:

The quick brown fox.
Jumped over the lazy dog.

In creating a hot string, I noticed the following code created a stall in printing the text:

CODE:

:C:tst::
(
The quick brown fox.
Jumped over the lazy dog.
)
return


I received help for hot strings previously and tried something that was suggested:

CODE:

testing :=
(
The quick brown fox.
Jumped over the lazy dog.
)

:C:tst::
Clipboard := testing
Send ^v
return


However, that attempt ended with an error. Besides referring to another file (such as a text file or Word file), is there a way to incorporate multiple short sentences in a hot string output within the AHK file? The example I gave is a short one. I would like to incorporate one with 30 or 40 short lines. Thanks.

Statistics: Posted by CuriousDad — Today, 16:55



Viewing all articles
Browse latest Browse all 579

Trending Articles