Yes, I am actually using AHK for very simple tasks.-me_7834539 (July 01, 2012, 06:31 PM)
- the script seemed to work perfectly, except for the very first item. the very first item always stayed on top (like this: dfbaacbc -> daabbccf).-me_7834539 (July 02, 2012, 07:59 AM)
- I have not yet thoroughly tested the script, but so far it seems to work very nicely. I did a test if any characters (or tabstops) are lost (German keyboard, all keys incl. using modifiers shift and alt-gr), but everything seemed fine.-me_7834539 (July 02, 2012, 07:59 AM)
oh... and would it be difficult to add to the script that blank lines be removed after the sorting? :-[ :Thmbsup:-me_7834539 (July 02, 2012, 08:32 AM)
here is what I meant by removing blank lines:Code: Text [Select]
cat1 Here is some cat1 text. Here is some continued cat1 text. cat2 Here is ANOTHER cat2 item. cat2 Here is some cat2 text. Here is some continued cat2 text. Here is some more continued cat2 text. cat3 Here is some cat3 text. Here is some continued cat3 text.-me_7834539 (July 02, 2012, 09:37 AM)
(side rematk: I am now outing myself as a total idiot, I just noticed that the script temporarily replaces blank lines by §, I am curious as to why this does not break text that originally contains §.)-me_7834539 (July 02, 2012, 09:37 AM)
and here is an example of text where your script will not sort the first item:-me_7834539 (July 02, 2012, 09:37 AM)
thanks for your efforts!!-me_7834539 (July 02, 2012, 09:37 AM)
hello, the script's behavior is all a bit too voodoo to me... hmm. first of all:
this:
qqq testtest
ppp testtest
will sort correctly for you?-me_7834539 (July 02, 2012, 11:57 AM)
btw, I am wondering if donation coder is the right forum for discussing AHK... seems like the ahk forums might solve the problem faster at this point... just an idea though.I think most of the "coding snacks" here are made using AHK.-me_7834539 (July 02, 2012, 12:00 PM)
@skwire
just out of curiosity, did you find out why the sorting does not work for the first line...?-me_7834539 (July 05, 2012, 04:51 PM)
personally, I am fine with the script as it is-me_7834539 (July 06, 2012, 08:20 AM)