Avatar of oaktrees
oaktrees

asked on 

AutoHot Key - What Should the Script Be?

Trying to get an AutoHotKey script for copying from Excel.

Seems like the answer is in this link.

https://autohotkey.com/board/topic/62759-remove-linebreak-after-copying-excel/

Where it resolved to just a single line of code in the end after about twenty iterations.

If you are just looking to trim the line feed off the clipboard content (like what you get after copying excel)

StringTrimRight, MyVar1, clipboard, 2

should store your string to MyVar1

However, don't know what the whole script should look like.

Sincerely,

OT
VB ScriptSpreadsheetsVBAAutoHotkeyScripting Languages

Avatar of undefined
Last Comment
Joe Winograd

8/22/2022 - Mon