How to get a txt and how to copy just 1 line

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
hieveryone
Posts: 43
Joined: 28 Nov 2022, 01:31

How to get a txt and how to copy just 1 line

Post by hieveryone » 08 Dec 2022, 01:57

So, i have a txt:
000000
FFFFFF
FF0000
880808
EE4B2B


And the txt is not part of my ahk txt. I want store the first line only in a variable.
Then i would use send:%var%
and then i would store the next line

I was thinking i would have a variable to indicate what line i am on




Thank you

User avatar
boiler
Posts: 16923
Joined: 21 Dec 2014, 02:44

Re: How to get a txt and how to copy just 1 line

Post by boiler » 08 Dec 2022, 02:42

If you mean that’s in a file, there are several ways to accomplish this.

Post Reply

Return to “Ask for Help (v1)”