AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fancy Font\Char Generator [intended for forums and chat msg]

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
XYZ



Joined: 20 Mar 2010
Posts: 224

PostPosted: Sun Mar 21, 2010 1:29 pm    Post subject: Fancy Font\Char Generator [intended for forums and chat msg] Reply with quote

Fancy Font\Char Generator

thx to MasterFocus for a bit of help

screenshot=



code=
Code:

Gui, Add, Edit, w400 r9 gUpdate vMyEdit, TYPE HERE
Gui, Add, Edit, w400 r9 vMyEdit2, NEW TEXT HERE
Gui, Add, Button, w400 r1 gCopy, Copy to Clipboard
Gui, Add, Text, w400 +Center Disabled, By Muhammad Umar
Gui, Show,, Fancy Font Generator
Return

Update:
  Gui, Submit, NoHide
  StringReplace, MyEdit2, MyEdit, a, @, All
  StringReplace, MyEdit2, MyEdit2, b, ß, All
  StringReplace, MyEdit2, MyEdit2, c, ©, All
  StringReplace, MyEdit2, MyEdit2, d, d, All
  StringReplace, MyEdit2, MyEdit2, e, ë, All
  StringReplace, MyEdit2, MyEdit2, f, ƒ, All
  StringReplace, MyEdit2, MyEdit2, g, g, All
  StringReplace, MyEdit2, MyEdit2, h, h, All
  StringReplace, MyEdit2, MyEdit2, i, ï, All
  StringReplace, MyEdit2, MyEdit2, j, J, All
  StringReplace, MyEdit2, MyEdit2, k, k, All
  StringReplace, MyEdit2, MyEdit2, l, !, All
  StringReplace, MyEdit2, MyEdit2, m, m, All
  StringReplace, MyEdit2, MyEdit2, n, ñ, All
  StringReplace, MyEdit2, MyEdit2, o, ø, All
  StringReplace, MyEdit2, MyEdit2, p, Þ, All
  StringReplace, MyEdit2, MyEdit2, q, q, All
  StringReplace, MyEdit2, MyEdit2, r, ®, All
  StringReplace, MyEdit2, MyEdit2, s, §, All
  StringReplace, MyEdit2, MyEdit2, t, t, All
  StringReplace, MyEdit2, MyEdit2, u, µ, All
  StringReplace, MyEdit2, MyEdit2, v, v, All
  StringReplace, MyEdit2, MyEdit2, w, w, All
  StringReplace, MyEdit2, MyEdit2, x, ×, All
  StringReplace, MyEdit2, MyEdit2, y, ÿ, All
  StringReplace, MyEdit2, MyEdit2, z, z, All
 
  GuiControl,, MyEdit2, %MyEdit2%
Return

GuiClose:
GuiEscape:
ExitApp

Copy:
clipboard = %MyEdit2%
Back to top
View user's profile Send private message
Tuncay



Joined: 07 Nov 2006
Posts: 1886
Location: Germany

PostPosted: Sun Mar 21, 2010 4:30 pm    Post subject: Reply with quote

I have made a modification of your script. The replacer table is now merged into one function. The options are parsed with Argp.ahk, http://www.autohotkey.com/forum/viewtopic.php?p=310409. You can change the mapping table live while script runs.
_________________
{1:"ahkstdlib", 2:"my libs", 3:"my apps", 4:"my license"}
--> Don't feed the troll! <--
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group