Pasting Multi Line Texts
Posted: 14 Feb 2020, 20:46
Hi, I am fairly new to auto hotkey and i just got a streamdeck to help streamline my web development process. With the stream deck they have a "text" option but it types it out like a macro what I am looking for is a way to basically copy and paste code snippets without typing them because autocomplete screws that up.
How would i do multiline pasting with auto hot key, something like this
I tried something like this
but ahk does not like it being multiline
How would i do multiline pasting with auto hot key, something like this
Code: Select all
axios.post('url', {
data: data
}, config).then((response) => {
console.log(response)
}).catch((error) => {
console.log(error)
})
Code: Select all
temp := clipboardall
clipboard := "axios.post(url, {
data: data
}, config).then((response) => {
console.log(response)
}).catch((error) => {
console.log(error)
})"
sendinput, ^v
clipboard := temp
return