Text Toolbox 1.1

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Text Toolbox 1.1

01 Mar 2016, 19:10

Text Toolbox
1.1 (Sun July 10, 2016)
Download | Screenshot

Description:
A program with a bunch of common text editing tools aswell as some simple tools to get information from texts. Easily make lists, wrap, change case, sort, and other nifty little trinkets.

Features:

Code: Select all

Text manipulation features:
 (this is also order-of-operation)
	Convert html entities (%2B = +)
	Remove <HTML>
	Remove [bbcode]
	Remove leading whitespaces
	Remove trailing whitespaces
	Trim
	Case
	 - UPPER
	 - lower
	 - Camel Case
	 - Sentence. Case
	 - iNVERSE cASE
	Sort
	 - A-Z
	 - Z-A
	 - Random
	 - Length short-to-long
	 - Length long-to-short
	Remove blank lines
	Pad
	Multi-replace
	Counter

Tools:
	Count occurances of words
	CSV display
	Compare
	Text statistics (results may vary)
Release log:
Spoiler
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
TheDewd
Posts: 1508
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Text Toolbox 1.0

02 Mar 2016, 10:23

Nice! The buttons on the "Replace" tab are using smiley face symbols for the buttons.

I thought these might be better:

Code: Select all

gui, font, s12, wingdings 2
gui, add, button, xp  y+0 w20 h20 vrepAdd  greplaceBtns, P
gui, add, button, x+m yp  wp  hp  vrepDel  greplaceBtns, O
gui, add, button, x+m yp  wp  hp  vrepEdit greplaceBtns, !
User avatar
kunkel321
Posts: 982
Joined: 30 Nov 2015, 21:19

Re: Text Toolbox 1.0

02 Mar 2016, 16:35

Very cool! Thanks for posting :)

EDIT: This is definitely getting linked to my main-use script.
ste(phen|ve) kunkel
User avatar
gwarble
Posts: 524
Joined: 30 Sep 2013, 15:01

Re: Text Toolbox 1.0

03 Mar 2016, 09:17

nicely done

minor, but i think it should be called "Title Case" not "Camel Case" (which would be more like "CamelCase")
EitherMouse - Multiple mice, individual settings . . . . www.EitherMouse.com . . . . forum . . . .
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Text Toolbox 1.0

03 Mar 2016, 10:59

TheDewd: that's more professional/standard but less fun :P Gotta strike into the emotions of the users.
:) = YAY, you're adding me! thanks so much!
:( = fine, you don't want me anymore? I see how it is.
:| = you don't like the way I am? I'll change, just for you.

gwarble: yes, you're correct. But I have a reason: A proper "Title Case" would ignore certain words like: a, the, in. Like in titles of books/movies/other. the built-in ahk options does not. It's every first letter, more like Camel Case (though, depending on your definition, camel case might actually be: lowerUpperUpper. But any non-techincal users won't know the difference). I do have a regex somewhere that does generate real Title Case (ignoring certain words). But currently too lazy to find and/or rewrite it.

kunkel321: No problem, glad you like it :)

thanks guys.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Text Toolbox 1.0

10 Jul 2016, 10:25

New version: 1.1

Fixed a bug (well, Lexikos did) that I thought was normal behavior but has been fixed in AHK 1.1.24.00
Nothing has changed other than how the tabless tab control behaves
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
joedf
Posts: 8940
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Text Toolbox 1.0

13 Jul 2016, 09:25

Interesting concept! :3
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
carno
Posts: 265
Joined: 20 Jun 2014, 16:48

Re: Text Toolbox 1.1

26 Aug 2016, 20:12

Thanks! I just discovered this awesome tool.
shipaddicted
Posts: 89
Joined: 15 Jul 2016, 19:57

Re: Text Toolbox 1.1

15 Sep 2016, 00:17

Capping the first letter of all words would be called Initial Caps as opposed to CamelCase is Initial Caps with no spaces between the words (first letter not/capped depending on your use. ;)
User avatar
kunkel321
Posts: 982
Joined: 30 Nov 2015, 21:19

Re: Text Toolbox 1.1

15 Jan 2021, 17:27

Hey Tidbit,
I've had your Text Toolbox here linked to my main "always running" master script. Have used it lots over the years. Let me know if you are ever board and looking for "feature requests" for it... ;- }

EDIT: *bored
Last edited by kunkel321 on 16 Jan 2021, 11:03, edited 1 time in total.
ste(phen|ve) kunkel
User avatar
Bugz000
Posts: 93
Joined: 30 Sep 2013, 10:01

Re: Text Toolbox 1.1

15 Jan 2021, 20:58

The chickadees are a group of North American birds in the tit family included in the genus Poecile. Species found in North America are referred to as chickadees, while other species in the genus are called tits. They are small-sized birds overall, usually having the crown of the head and throat patch distinctly darker than the body. They are at least 6 to 14 centimeters (2.4 to 5.5 inches) in size.

Their name reputedly comes from the fact that their calls make a distinctive "chick-a-dee-dee-dee", though their normal call is actually fee-bee, and the famous chick-a-dee-dee-dee is an alarm call. The number of "dees" depends on the predator.
Image
||-------[-HP-ML350E-G8-]-------||-[-32-core-xeon-]-||--[-48gb-ECC-]--||
||----[-Dell-Poweredge-r610-]---||-[-16-core-xeon-]-||--[-16gb-ECC-]--||
||-[-Lenovo-ThinkPad-x201-tab-]-||---[-4-core-i7-]--||-[-8gb-nonECC-]-||
||---------------------------[-shack--img-]---------------------------||
User avatar
SirSocks
Posts: 360
Joined: 26 Oct 2018, 08:14

Re: Text Toolbox 1.1

16 Jan 2021, 11:37

Wow, this is awesome! Thank you!
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Text Toolbox 1.1

16 Jan 2021, 11:41

I may or may not have a slightly updated version not released. But I noticed a bug with it. someday soonish I may update the link fixing atleast that issue, Don't remember if I added any new features tho (this is old). I will post/bump if I do.

And thank you all :) glad it's of use!

May a chickadee land on your shoulder.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
kunkel321
Posts: 982
Joined: 30 Nov 2015, 21:19

Re: Text Toolbox 1.1

16 Jan 2021, 14:45

I added a very minor update... This is lines 93 and 94. Several preset Left and Right pads. Luckily AutoHotkey makes this so easy that even a person with my low skills level is able to do it! LOL

Code: Select all

gui, add, combobox, x+m yp-3 w150 vpadLeft  gquack, % "-|*|>|Subtest"
gui, add, combobox, x+m yp   w250 vpadRight gquack, % "Parent() Teacher()|Previous() Current ()|PrevTeacher() CurrTeacher() Parent()|Student() Teacher() Parent()" 
I also made Pad Tab be the default tab.

Image
ste(phen|ve) kunkel

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 77 guests