TextConverter v0.2

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

TextConverter v0.2

04 Oct 2013, 03:33

TextConverter v0.2 by jNizM
Convert Text via AutoHotkey

Source
TextConverter v0.2 (GitHub)

Features
- Convert Text to: Char, Decimal, Octal, Hexadecimal, Binary

Screenshot
Image

Info
- Version: v0.2
- URL AHK Thread

Changelog
- 0.2 | Bug Fixes, Removed Morsecode, Added Dec/Hex to Char, Improved Code
- 0.1 | First Release

Contributing
- thanks to hd0202 for his function
- thanks to tomoe_uehara for her idea
- thanks to AutoHotkey Community

Copyright and License
Unlicense
Last edited by jNizM on 23 Mar 2015, 03:57, edited 8 times in total.
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
joedf
Posts: 8940
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: TextConverter

04 Oct 2013, 08:06

Hahah awesome! I love it :D
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]
User avatar
mapa4
Posts: 13
Joined: 14 Nov 2013, 02:55

Re: TextConverter

14 Nov 2013, 03:00

You should add a ROT-13 substitution cipher !
Mapa.
User avatar
jballi
Posts: 723
Joined: 29 Sep 2013, 17:34

Re: TextConverter

14 Nov 2013, 22:23

Cool beans. I will add this to my arsenal of tools. Thanks for sharing. :)

Moderators: Are you kidding me? a-r-s-e-n-a-l is on the list of bad words? Give me a break!
timeFlies
Posts: 146
Joined: 22 Oct 2013, 20:54
Location: Somewhere in the northern hemisphere.

Re: TextConverter

14 Nov 2013, 23:37

"Arsenal"? You're joking.

Edit: Ahh, I see why. It detected the word "a r s e".
User avatar
joedf
Posts: 8940
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: TextConverter

15 Nov 2013, 01:41

haha.... butt... :P
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]
User avatar
jballi
Posts: 723
Joined: 29 Sep 2013, 17:34

Re: TextConverter

20 Nov 2013, 17:50

The convert function that you use in this app is pretty cool. I had fun using it to create a simple number converter similar to what you might see on the Microsoft calculator. Again, thanks for sharing.
User avatar
empardopo
Posts: 336
Joined: 06 Oct 2013, 12:50
Location: Spain
Contact:

Re: TextConverter

21 Nov 2013, 05:52

I like it.
Perhaps it was also interesting to write a decimal number and the program will return the ASCII.
Thanks!

Note: In my computer I can not see the heart (%love%).
Everything is possible!
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: TextConverter

21 Nov 2013, 08:42

Just write chr(decimal_number) in AutoHotkey

ps: ♥ for you :D
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
joedf
Posts: 8940
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: TextConverter

21 Nov 2013, 08:56

Haha lol! :)
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]
User avatar
empardopo
Posts: 336
Joined: 06 Oct 2013, 12:50
Location: Spain
Contact:

Re: TextConverter

22 Nov 2013, 05:22

jNizM wrote:Just write chr(decimal_number) in AutoHotkey

ps: ♥ for you :D
hahahaha! You are a bad boy!!!
Everything is possible!
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: TextConverter

22 Nov 2013, 10:06

jballi wrote:Cool beans. I will add this to my [foul/derogatory language] of tools. Thanks for sharing. :)

Moderators: Are you kidding me? a-r-s-e-n-a-l is on the list of bad words? Give me a break!
actually this is an unintended result give me till this weekend i hadnt seen this untill now
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: TextConverter

22 Nov 2013, 10:09

nevermind it was easier to fix than expected
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
Deletethisaccount
Posts: 13
Joined: 14 Dec 2013, 19:37

Re: TextConverter

14 Dec 2013, 20:28

Congratulations Script. The idea is very good, and thanks for sharing
User avatar
tomoe_uehara
Posts: 213
Joined: 05 Oct 2013, 12:37
Contact:

Re: TextConverter v0.1

30 Mar 2014, 12:57

I guess next time jNizM will write us an Enigma encrypt/decryptor xD
User avatar
h0ll0w
Posts: 4
Joined: 29 Jan 2014, 11:55
Location: Colorado
Contact:

Re: TextConverter v0.1

31 Mar 2014, 13:03

Very cool script! :D
AHK 1.1.26.01 OS Win 7 and 10
User avatar
empardopo
Posts: 336
Joined: 06 Oct 2013, 12:50
Location: Spain
Contact:

Re: TextConverter v0.1

18 Mar 2015, 02:57

@jNizM, I'm going to do a suggestion to add to your nice script.

Would be possible to write a decimal and that the script returns the corresponding character?
Another interesting option would be to add the program displays something like the following picture ...

Image

These are just ideas.
Greetings.
Everything is possible!
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: TextConverter v0.1

18 Mar 2015, 05:47

http://ahkscript.org/boards/viewtopic.php?p=5498#p5498 ^^

Image

Code: Select all

Gui, Margin, 10, 10
Gui, Font, s9, Courier New
Gui, Add, Text, xm ym w80 h22 0x200, % "Decimal"
Gui, Add, Edit, x+5 ym w100 gConvert vVarIn, 9829
Gui, Add, Text, xm y+10 w188 h1 0x10
Gui, Add, Text, xm y+10 w80 h22 0x200, % "Char"
Gui, Add, Edit, x+5 yp w100 0x0800 vVarOut
Gui, Show, AutoSize, % "Dec to Char"

Convert:
    Gui, Submit, NoHide
    GuiControl,, VarOut, % Chr(VarIn)
return

GuiClose:
GuiEscape:
ExitApp
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
empardopo
Posts: 336
Joined: 06 Oct 2013, 12:50
Location: Spain
Contact:

Re: TextConverter v0.1

18 Mar 2015, 07:04

jNizM wrote:http://ahkscript.org/boards/viewtopic.php?p=5498#p5498 ^^

Image

Code: Select all

Gui, Margin, 10, 10
Gui, Font, s9, Courier New
Gui, Add, Text, xm ym w80 h22 0x200, % "Decimal"
Gui, Add, Edit, x+5 ym w100 gConvert vVarIn, 9829
Gui, Add, Text, xm y+10 w188 h1 0x10
Gui, Add, Text, xm y+10 w80 h22 0x200, % "Char"
Gui, Add, Edit, x+5 yp w100 0x0800 vVarOut
Gui, Show, AutoSize, % "Dec to Char"

Convert:
    Gui, Submit, NoHide
    GuiControl,, VarOut, % Chr(VarIn)
return

GuiClose:
GuiEscape:
ExitApp
Thanks. I meant to add that feature to your script!
I've just read the WTFPL License of your script and I'm going try add this feature. Btw, the link of the WTFPL License in the first post doesn't work fine.

A more question, is there any place where I can see a complete list of chars (with the love character included). :lol:

Thanks.
Everything is possible!
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: TextConverter v0.1

18 Mar 2015, 08:33

Next week I push an update and change the license too.

The Unicode Standard, Version 7.0
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 132 guests