SendRaw keyword does not render Multiple lines properly Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ajitgoel
Posts: 3
Joined: 29 Jul 2017, 11:59

SendRaw keyword does not render Multiple lines properly

29 Jul 2017, 12:16

Hello,
The following snippet does not work. What am I doing wrong?

Code: Select all

::classReact2::
SendRaw,
(
	export default class Task extends Component 
	{
		render() 
		{
			return (<li>{this.props.task.text}</li>);
		}
	}
)
Return
It returns

Code: Select all

export default class Task extends Component
	{
			render()
					{
								return (<li>{this.props.task.text}</li>);
										}
											}
					}
	}
kon
Posts: 1756
Joined: 29 Sep 2013, 17:11

Re: SendRaw keyword does not render Multiple lines properly  Topic is solved

29 Jul 2017, 12:32

Does your editor auto-indent? AHK may be sending the keystrokes as you have written, but does the editor add its own indents?
ajitgoel
Posts: 3
Joined: 29 Jul 2017, 11:59

Re: SendRaw keyword does not render Multiple lines properly

29 Jul 2017, 13:41

thanks @kon, I learned something new today. I rewrote the script using notepad and it worked.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee and 402 guests