Sign in to follow this  
Followers 0
brokenjade4ever

A somewhat advanced copy from line question

4 posts in this topic

#1 ·  Posted (edited)

Hello, I am new to autoit still and I have been working hard trying to understand the copy logic.

I understand how line copy from txt works.

But here's my question

# Randomname/Randomname A 97.4 1.044 B 97.4 1.044 + 0.000 D/V

My goal is to copy only the middle of the line which is "B 97.4 1.044"

I have no clue on which function or logic to use to achieve that.

Can someone help me in guiding me for a direction that I could take in order to implement that please?

Or maybe provide some example code?

Any suggestion would be greatly appreciated, thank you.

Edited by brokenjade4ever

Share this post


Link to post
Share on other sites



Check out the _StringBetween function in latest version (maybe in beta?).


IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]

Share this post


Link to post
Share on other sites

$var = StringMid("# Randomname/Randomname A 97.4 1.044 B 97.4 1.044 + 0.000 D/V", 37, 12)
MsgBox(0, "Extracted Text", $var)



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

thank you very much for the suggestions, now i have a way better idea on how to implement that

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0