Posts: 3
Threads: 1
Joined: Mar 2016
Apologies for noob question as I know there must be a very simple solution to this problem, but I use several macros to enter bulk text (several paragraphs) regularly. Currently I just use
but this enters each letter individually at not much faster than typing pace, which sort of defeats the purpose of a macro. Is there some way I can enter it as a block of text instantly, rather than a letter at a time. E.g. Some kind of copy-and-paste command? (copy text from within the macro to the clipboard, then paste it)?
Posts: 117
Threads: 5
Joined: Nov 2015
Posts: 3
Threads: 1
Joined: Mar 2016
Thanks! I thought it would be trivial, just couldn't find it in the documentation.
One other question, is there a way to paste text containing line/paragraph breaks, without having to paste each paragraph separately with
in between each (which slows down entry)?
Thanks again
Posts: 117
Threads: 5
Joined: Nov 2015
Macro
Macro33
Let's say you have 5 paragraphs, just store them in a variable like "s" and just paste this variable is enough.
str s=
;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean vulputate venenatis nisl a congue. Nulla sit amet consequat orci. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et dui eu diam ullamcorper dictum ac nec magna. Nullam sagittis mi id lacinia pellentesque. Maecenas ipsum magna, sodales nec mattis non, aliquet a risus. Integer aliquet, orci sit amet venenatis sagittis, neque orci interdum lorem, vitae rutrum ex ipsum eget purus. Quisque eget nisi felis. Fusce dolor dui, rutrum sed tempor at, sollicitudin eget metus. Quisque vitae urna faucibus, efficitur dui nec, pretium turpis.
;
;Aliquam tempor sollicitudin ante, lacinia maximus odio blandit nec. Suspendisse convallis vestibulum est, aliquam vestibulum risus mattis in. Suspendisse et interdum dolor. Nulla congue mauris consectetur sagittis auctor. Maecenas non finibus justo. Nunc vel orci eu quam lacinia auctor ac id augue. Duis iaculis auctor scelerisque. Praesent eget mi et nisi dignissim vestibulum sed in erat.
;
;Duis ut elit sem. Pellentesque sit amet dolor sed orci porttitor pretium. Quisque orci nisi, placerat ut tincidunt eget, condimentum quis purus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Praesent at aliquet dolor. Proin accumsan arcu quis fringilla varius. Cras ut cursus leo, sed dapibus justo.
;
;Maecenas quis dapibus est, sed condimentum nunc. Nam vel nulla sit amet elit facilisis semper. Aliquam porttitor vitae tortor ullamcorper lobortis. Proin tristique erat turpis, at tincidunt nunc sollicitudin quis. Nulla sit amet justo vehicula, faucibus lorem sed, sagittis leo. Curabitur id metus nisl. Nullam pharetra porttitor imperdiet.
;
;Nulla facilisi. Phasellus ac ante tortor. Suspendisse in tortor nibh. Donec hendrerit metus non neque condimentum, nec dignissim massa malesuada. Duis aliquam arcu faucibus ex imperdiet, vitae aliquet erat pharetra. Nullam eget diam non tortor varius interdum. Vestibulum quam mauris, hendrerit sit amet porta quis, convallis vitae mauris. Nulla blandit odio ut sem auctor tincidunt. Duis id venenatis dolor. Nulla sollicitudin congue molestie. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam scelerisque quis libero ut rutrum.
act win("Notepad")
paste s
Posts: 3
Threads: 1
Joined: Mar 2016
Exactly what I was looking for. Thanks!