AutoHotkey Community

It is currently May 27th, 2012, 3:08 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: March 21st, 2010, 2:29 pm 
Offline

Joined: March 20th, 2010, 9:49 am
Posts: 224
Fancy Font\Char Generator

thx to MasterFocus for a bit of help

screenshot=

Image

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%


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 21st, 2010, 5:30 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
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! <--


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, Kirtman, Rseding91 and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group