techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Programming & Webmastering

Reply
 
Thread Tools
Old Jan 16, 2012, 12:01 AM   #1
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Little Alt Code Utility

I wrote a simple little utility that shows some of the more common alt-codes you may want to put in a forum post. I am forever forgetting these and using the character map is a PITA.



If you hover over a button it shows a tooltip of the alt code and a description.
If you click on a button it copies the alt code character to the clipboard so you can just ctrl-V it into the post editor (or wherever).
After you click a button the status bar tells you what it sent to the clipboard.

If you in another window editing (like a post or whatever) clicking on a button will now automatically put it in the window where your cursor is.

You can put the exe anywhere as it does not use any other files or resources.

I can add more codes if anyone finds this useful and would like a few more added.

Any feedback is appreciated ... even if you feel it's worthless.
Attached Files
File Type: exe WinAltCodes_0_0_3.exe (16.0 KB, 253 views)
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp

Last edited by Kreij; May 13, 2012 at 06:58 PM.
Kreij is offline  
Reply With Quote
Old Jan 16, 2012, 12:10 AM   #2
theJesus
2000 Posts
 
theJesus's Avatar
 
Join Date: Jul 2008
Location: Canton, Ohio
Posts: 3,116 (1.76/day)
Thanks: 2,301
Thanked 865 Times in 612 Posts

System Specs

This is an awesome app. I have it pinned in my taskbar now.
__________________
HEAT
“congratulations! you have successfully been inflicted with tpuitis! symptons include: prolonged computer usage, urge to make tpu your homepage, posting at rapid posts-per-day ratios (also known as post whoring), and the urge to waste lots of money on high end computer hardware that you dont need!” -panchoman
“Modding to me is something best shared with others.... Kind of like a fine wine, but without the drunk driving arrest and hangovers.” -MKmods
“i'm going to punch you in the face now Jesus..” -BumbleBee
theJesus is offline  
Reply With Quote
The Following User Says Thank You to theJesus For This Useful Post:
Old Jan 16, 2012, 12:17 AM   #3
qubit
Overclocked quantum bit
 
qubit's Avatar
 
Join Date: Dec 2007
Location: Quantumville UK
Posts: 8,648 (4.34/day)
Thanks: 4,178
Thanked 3,303 Times in 1,943 Posts

System Specs

Awesome, it's gonna help with putting in that ™ character.

Here are a few more: ™¢€µ¼•
__________________
Siggie in the post.
qubit is offline  
Reply With Quote
Old Jan 16, 2012, 12:26 AM   #4
A Cheese Danish
1000 Posts
 
A Cheese Danish's Avatar
 
Join Date: Nov 2006
Location: At your local vending machine
Posts: 1,914 (0.80/day)
Thanks: 121
Thanked 419 Times in 368 Posts
Send a message via AIM to A Cheese Danish

System Specs

Nifty I must say. Helps a lot
__________________
My FS/FT Thread
HEATWARE Xfire Steam ID
Certs: MCTS, MCITP, HP APS
Server: AMD Opteron 170 @2.95GHz | 4GB DDR 3-3-2-7 | 1x Samsung SPT 500GB, 2x WD Black 2TB, 2x 1.5TB Western Digital MyBook
A Cheese Danish is offline  
Reply With Quote
Old Jan 16, 2012, 12:26 AM   #5
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

For a little 15KB utility it's memory usage (private working set) is a little large at ~5M
I'll see if I can make it's memory footprint smaller.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 16, 2012, 01:30 AM   #6
xbonez
1000 Posts
 
Join Date: Nov 2010
Location: Philly, PA (US)
Posts: 1,084 (1.20/day)
Thanks: 277
Thanked 323 Times in 197 Posts

System Specs

Interesting about the 5MB memory usage. It's a winform app, right?
xbonez is offline  
Reply With Quote
Old Jan 16, 2012, 11:38 AM   #7
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Yes it is, xbonez. It is compiled using my default VS settings, so I should be able to do a some bit twiddling to make it smaller.

I wrote this because I got sick of going to sites that listed the codes.
This little app is one of those things that falls under "necessity is the mother of invention."
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
The Following User Says Thank You to Kreij For This Useful Post:
Old Jan 16, 2012, 11:57 AM   #8
ctrain
200 Posts
 
Join Date: Jan 2010
Posts: 384 (0.31/day)
Thanks: 1
Thanked 72 Times in 59 Posts

Quote:
Originally Posted by Kreij View Post
For a little 15KB utility it's memory usage (private working set) is a little large at ~5M
I'll see if I can make it's memory footprint smaller.
You can call SetProcessWorkingSetSize() to try and go lower yet, but it's pointless really, you will likely damage performance if anything in trying.

It's best to leave the runtime and OS to their own devices really, .NET programs using a "lot" of memory is well known and stripping the working set is a common idea that seems like a good one but is really not.
ctrain is offline  
Reply With Quote
Old Jan 16, 2012, 11:59 AM   #9
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,576 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

How about adding:
Þ = 0222
þ = 0254


You must be feeling better. I can't code when in pain. :þ
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is online now  
Crunching for Team TPU
Reply With Quote
Old Jan 16, 2012, 12:09 PM   #10
DanTheBanjoman
Señor Moderator
 
DanTheBanjoman's Avatar
 
Join Date: May 2004
Location: Utrecht, Utrecht, The kingdom of the Netherlands
Posts: 8,498 (2.58/day)
Thanks: 41
Thanked 1,453 Times in 1,077 Posts
Send a message via ICQ to DanTheBanjoman Send a message via MSN to DanTheBanjoman

System Specs

What's does it do that a list in notepad won't?
DanTheBanjoman is offline  
Reply With Quote
Old Jan 16, 2012, 12:15 PM   #11
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Quote:
Originally Posted by ctrain View Post
You can call SetProcessWorkingSetSize() to try and go lower yet, but it's pointless really, you will likely damage performance if anything in trying.

It's best to leave the runtime and OS to their own devices really, .NET programs using a "lot" of memory is well known and stripping the working set is a common idea that seems like a good one but is really not.
Not sure how I could reduce performance on an app that does almost nothing.
I was just going to poke around with a few VS settings and not do anything dramatic.


Quote:
Originally Posted by FordGT90Concept View Post
How about adding:
Þ = 0222
þ = 0254


You must be feeling better. I can't code when in pain. :þ
I was thinking of adding the TPU smileys so you could use the little app with "post quick reply" and have them available for copy/pasta. Thoughts?

If the pain gets too bad the coding stops (as I usually lie down), if I take painkillers coding slows down dramatically due to general mental foginess. lol

Quote:
Originally Posted by Banjo
What's does it do that a list in notepad won't?
Functionally it makes copying to the cliboard a little faster (just click the button). Other than that, not much at the moment.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 16, 2012, 12:19 PM   #12
DanTheBanjoman
Señor Moderator
 
DanTheBanjoman's Avatar
 
Join Date: May 2004
Location: Utrecht, Utrecht, The kingdom of the Netherlands
Posts: 8,498 (2.58/day)
Thanks: 41
Thanked 1,453 Times in 1,077 Posts
Send a message via ICQ to DanTheBanjoman Send a message via MSN to DanTheBanjoman

System Specs

Quote:
Originally Posted by Kreij View Post
Functionally it makes copying to the cliboard a little faster (just click the button). Other than that, not much at the moment.
Then, what will it do?
DanTheBanjoman is offline  
Reply With Quote
Old Jan 16, 2012, 12:22 PM   #13
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Quote:
Originally Posted by DanTheBanjoman View Post
Then, what will it do?
You lost me on that question, Banjo. Probably the painkillers. lol
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 16, 2012, 12:25 PM   #14
DanTheBanjoman
Señor Moderator
 
DanTheBanjoman's Avatar
 
Join Date: May 2004
Location: Utrecht, Utrecht, The kingdom of the Netherlands
Posts: 8,498 (2.58/day)
Thanks: 41
Thanked 1,453 Times in 1,077 Posts
Send a message via ICQ to DanTheBanjoman Send a message via MSN to DanTheBanjoman

System Specs

Quote:
Originally Posted by Kreij View Post
You lost me on that question, Banjo. Probably the painkillers. lol
You said it does nothing else currently, what features are planned?
DanTheBanjoman is offline  
Reply With Quote
Old Jan 16, 2012, 12:30 PM   #15
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Whatever anyone comes up with that they think will make it better.
I'm always open for suggestions. You have any ideas Banjo?
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 16, 2012, 12:34 PM   #16
theJesus
2000 Posts
 
theJesus's Avatar
 
Join Date: Jul 2008
Location: Canton, Ohio
Posts: 3,116 (1.76/day)
Thanks: 2,301
Thanked 865 Times in 612 Posts

System Specs

It would be cool if it worked like the on-screed keyboard. Not totally necessary, but if you're bored . . .
__________________
HEAT
“congratulations! you have successfully been inflicted with tpuitis! symptons include: prolonged computer usage, urge to make tpu your homepage, posting at rapid posts-per-day ratios (also known as post whoring), and the urge to waste lots of money on high end computer hardware that you dont need!” -panchoman
“Modding to me is something best shared with others.... Kind of like a fine wine, but without the drunk driving arrest and hangovers.” -MKmods
“i'm going to punch you in the face now Jesus..” -BumbleBee
theJesus is offline  
Reply With Quote
Old Jan 16, 2012, 12:38 PM   #17
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,657 (2.44/day)
Thanks: 4,326
Thanked 2,319 Times in 1,150 Posts

System Specs

Nice work kreij! on "The Little Alt Code Utility ® ™" Works great!
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is online now  
Crunching for Team TPU
Reply With Quote
Old Jan 16, 2012, 12:39 PM   #18
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Quote:
Originally Posted by theJesus View Post
It would be cool if it worked like the on-screed keyboard. Not totally necessary, but if you're bored . . .
More info please. Yes, I am bored.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 16, 2012, 12:42 PM   #19
theJesus
2000 Posts
 
theJesus's Avatar
 
Join Date: Jul 2008
Location: Canton, Ohio
Posts: 3,116 (1.76/day)
Thanks: 2,301
Thanked 865 Times in 612 Posts

System Specs

Quote:
Originally Posted by Kreij View Post
More info please. Yes, I am bored.
Basically, have an option for it stay in the foreground at all times and whenever you click a character in it, then it automatically pastes that into whatever text field your cursor was in.

Open up the onscreen keyboard to see what I mean.
__________________
HEAT
“congratulations! you have successfully been inflicted with tpuitis! symptons include: prolonged computer usage, urge to make tpu your homepage, posting at rapid posts-per-day ratios (also known as post whoring), and the urge to waste lots of money on high end computer hardware that you dont need!” -panchoman
“Modding to me is something best shared with others.... Kind of like a fine wine, but without the drunk driving arrest and hangovers.” -MKmods
“i'm going to punch you in the face now Jesus..” -BumbleBee
theJesus is offline  
Reply With Quote
The Following User Says Thank You to theJesus For This Useful Post:
Old Jan 16, 2012, 12:46 PM   #20
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Cool. I never used the OSK before. Will work on that for next version.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
The Following User Says Thank You to Kreij For This Useful Post:
Old Jan 16, 2012, 12:49 PM   #21
ctrain
200 Posts
 
Join Date: Jan 2010
Posts: 384 (0.31/day)
Thanks: 1
Thanked 72 Times in 59 Posts

Quote:
Originally Posted by Kreij View Post
Not sure how I could reduce performance on an app that does almost nothing.
You might up causing some page faults as a result of trying to trim the working set, worrisome if you're counting precious milliseconds

What I was getting at is that the seemingly large working set of .NET programs isn't worth playing with. The OS will reclaim the uneeded memory for other use if it really needs to and will not allocate so much "fluff" in the first place if it's scarce to begin with.
ctrain is offline  
Reply With Quote
Old Jan 16, 2012, 01:23 PM   #22
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,657 (2.44/day)
Thanks: 4,326
Thanked 2,319 Times in 1,150 Posts

System Specs

Kreij why not go ahead and throw in all the forum codes [spoiler}[/spoiler], [B}{/B}, etc.. You could create two windows/Multi Line Textboxes one to type the complete post and the second window to view the post in real time. Once the user is ready to post the response have something like a send button for them to click. You could create a toggle switch to go from thejesus direct imput mode or the multi window method.
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is online now  
Crunching for Team TPU
Reply With Quote
Old Jan 16, 2012, 01:36 PM   #23
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

That's not as easy as it sounds, MW. It would require a realtime bbcode parser and tokenizer, as well as working with the RTF format for use with a RichTextBox for realtime display. It gets pretty ugly quick. lol

I was working on something like that awhile ago as an offline editor for people writing articles and/or news.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 16, 2012, 01:46 PM   #24
Completely Bonkers
2000 Posts
 
Completely Bonkers's Avatar
 
Join Date: Feb 2007
Posts: 2,415 (1.05/day)
Thanks: 582
Thanked 533 Times in 374 Posts

System Specs

Any chance of a user-defined line of buttons? Set in a .ini or cfg file? I have need for certain character code sets when writing emails, like üöä and čěřňš

Actually; http://www.typeit.org/ is pretty useful
__________________
... some things in life just drive you bonkers. Especially the rubbish you see in forum posts
Completely Bonkers is offline  
Reply With Quote
Old Jan 16, 2012, 02:18 PM   #25
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,114 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

I had originally thought of including all of the characters with accents and a lot of other special punctuation, but I was trying to keep the GUI small.
The intent of this app was for quick characters when forum posting and not a comprehensive list of all the possible alt codes.
I will give it some thought. Maybe a settings option so the GUI only displays the character sets that you need/want.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
The Following 2 Users Say Thank You to Kreij For This Useful Post:
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl+Alt+Del lag? MLG The Canadian General Software 3 Mar 31, 2011 09:36 PM
DFSPL is compressed press ctrl+alt+del masleyko General Hardware 1 Nov 19, 2010 06:14 PM
alt + tab not working oli_ramsay General Software 14 Mar 16, 2009 12:46 AM
Ctrl Alt Del, Vista Dangle General Software 46 May 25, 2008 06:06 AM


All times are GMT. The time now is 12:51 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts