kalekje / LNCHR-pub

MIT License
25 stars 4 forks source link

How to send blocks of text with multiple lines? #14

Open Avastgard opened 8 months ago

Avastgard commented 8 months ago

I am having a hard time using the spreadsheet to code a block of text with multiple lines, probably due to my unfamilitarity with v2. The catch is that this will be typed into a web app to produce checklists, so I'm assuming I need the script to press Enter after each line so the next checklist item will trigger.

I want something like this:

Line 1{Enter}
Line 2{Enter}
Line 3{Enter}

What do I need to type in the spreadsheet cell to achieve this?

kalekje commented 8 months ago

The easiest way is to just put the lines side by side. Not ideal for readability. In the next version I can make it such that new lines in the cell are converted to {Enter}

Avastgard commented 8 months ago

Thanks for the answer.

I found out that I needed to add a Sleep between the lines or the app wouldn't register them, so I ended up making a separate script with a hotkey that will trigger the lines.