Text capture

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
ArtKor
Newbie
Posts: 1
Joined: Thu Nov 15, 2018 5:11 pm

Text capture

Post by ArtKor » Thu Nov 15, 2018 5:24 pm

When I use the function "GetTextAtPoint>" two numbers return to me separated by commas. But I only need one of them. How can I write the right number to me in .xls or .txt file. Thanks!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Text capture

Post by Marcus Tettmar » Mon Nov 19, 2018 5:06 pm

You could use the Separate function to split the values into an array. Then reference the one you want directly.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts