Custom sort

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
j-t-r
Posts: 17
Joined: 08 Jun 2015, 03:05

Custom sort

21 Jan 2016, 04:38

Hello,
I have a variable. Lets say three lines. And I want sort those lines according to first X characters in each line. How do I please do that using AHK?
It would be also nice to have more general way of sorting. It means to be able to pick string inside each line starting at position X and ending at position Y. And to sort lines according to that strings.
I really appreciate any help you can provide
j-t-r
User avatar
sinkfaze
Posts: 616
Joined: 01 Oct 2013, 08:01

Re: Custom sort

21 Jan 2016, 09:02

Provide us with three example lines, what you want the lines sorted by and how you expect them to be sorted.
j-t-r
Posts: 17
Joined: 08 Jun 2015, 03:05

Re: Custom sort

22 Jan 2016, 05:49

It seems that I managed to find a way. I will reply again should it proves otherwise. Thank you.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jdfnnl and 358 guests