• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Little Alt Code Utility

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,193 (1.49/day)
Location
Charleston, SC
System Name Tower of Power / Sechs
Processor i7 14700K / i7 5820k @ 4.5ghz
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / X99S GAMING 7
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / CORSAIR Hydro Series H100i Extreme
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / G.Skill DDR4 2800 16GB 4x4GB
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / ASUS TUF Gaming GeForce RTX 3070 V2 OC Edition
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / Samsung 870 PRO 500GB M.2
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, ViewSonic 32" 72hz 1440p / 2x ViewSonic 32" 72hz 1440p
Case Phantek "400A" / Phanteks “Enthoo Pro series”
Audio Device(s) Realtek ALC4080 / Azalia Realtek ALC1150
Power Supply Corsair RM Series RM750 / Corsair CXM CX600M
Mouse Glorious Gaming Model D Wireless / Razer DeathAdder Chroma
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (128gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 10 Pro x64
Benchmark Scores Yes
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.

You said you were bored.. hehehe and I never said it would be easy... :p hehehe If we didn't push our self who would? Now hurry up I want to see something by the end of the day! :p lol :roll:

EDIT: Here I'll Help you :p

Code:
Dim Bold as string
 
Last edited:

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,444 (2.43/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
damn kreij, you need to get the cancer more often! lol, j/k obviously.
 

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,193 (1.49/day)
Location
Charleston, SC
System Name Tower of Power / Sechs
Processor i7 14700K / i7 5820k @ 4.5ghz
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / X99S GAMING 7
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / CORSAIR Hydro Series H100i Extreme
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / G.Skill DDR4 2800 16GB 4x4GB
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / ASUS TUF Gaming GeForce RTX 3070 V2 OC Edition
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / Samsung 870 PRO 500GB M.2
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, ViewSonic 32" 72hz 1440p / 2x ViewSonic 32" 72hz 1440p
Case Phantek "400A" / Phanteks “Enthoo Pro series”
Audio Device(s) Realtek ALC4080 / Azalia Realtek ALC1150
Power Supply Corsair RM Series RM750 / Corsair CXM CX600M
Mouse Glorious Gaming Model D Wireless / Razer DeathAdder Chroma
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (128gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 10 Pro x64
Benchmark Scores Yes
damn kreij, you need to get the cancer more often! lol, j/k obviously.

I know right? :laugh:

@kreij.. I'm waiting.. :p Have you made any browser add-ons? It would be kickass if you tried to do that with this. :D
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
Currently trying to get the little app to work like the OSK (not take focus and output to the window that contains the cursor and focus).
So far this is not working at all like the references says it should. :laugh:

When I get this working, I can add user defined buttons and other requested functionality.

@MW : Still pondering a bbcode editor. ;)
 

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,193 (1.49/day)
Location
Charleston, SC
System Name Tower of Power / Sechs
Processor i7 14700K / i7 5820k @ 4.5ghz
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / X99S GAMING 7
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / CORSAIR Hydro Series H100i Extreme
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / G.Skill DDR4 2800 16GB 4x4GB
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / ASUS TUF Gaming GeForce RTX 3070 V2 OC Edition
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / Samsung 870 PRO 500GB M.2
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, ViewSonic 32" 72hz 1440p / 2x ViewSonic 32" 72hz 1440p
Case Phantek "400A" / Phanteks “Enthoo Pro series”
Audio Device(s) Realtek ALC4080 / Azalia Realtek ALC1150
Power Supply Corsair RM Series RM750 / Corsair CXM CX600M
Mouse Glorious Gaming Model D Wireless / Razer DeathAdder Chroma
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (128gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 10 Pro x64
Benchmark Scores Yes
Last edited:

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
I tried the BBCode editor app you posted and I am now considering why I should write one since that one rocks. It does everything you would ever want except output the display in realtime as you type (which is not all that necessary anyway). :/
 

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,193 (1.49/day)
Location
Charleston, SC
System Name Tower of Power / Sechs
Processor i7 14700K / i7 5820k @ 4.5ghz
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / X99S GAMING 7
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / CORSAIR Hydro Series H100i Extreme
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / G.Skill DDR4 2800 16GB 4x4GB
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / ASUS TUF Gaming GeForce RTX 3070 V2 OC Edition
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / Samsung 870 PRO 500GB M.2
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, ViewSonic 32" 72hz 1440p / 2x ViewSonic 32" 72hz 1440p
Case Phantek "400A" / Phanteks “Enthoo Pro series”
Audio Device(s) Realtek ALC4080 / Azalia Realtek ALC1150
Power Supply Corsair RM Series RM750 / Corsair CXM CX600M
Mouse Glorious Gaming Model D Wireless / Razer DeathAdder Chroma
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (128gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 10 Pro x64
Benchmark Scores Yes
I tried the BBCode editor app you posted and I am now considering why I should write one since that one rocks. It does everything you would ever want except output the display in realtime as you type (which is not all that necessary anyway). :/

Yea it is a nice little app, and you are right why create a new one? Err because TPU doesn't have one of it's on.. :p hehehe and you're bored.. hehehe You could make a TPU Web Browser with these built in features. Or even better a Forum app with these features. You could do something like Opera's start page.. let the user bookmark a few forums and then all he or she would do is launch your "Kreij's Forum Browser" select a forum and post away with shortcuts to BBCode. ;)
 
Last edited:
Joined
Oct 5, 2010
Messages
861 (0.17/day)
System Name FragBox
Processor Intel Core i7 2600K @ 5.0GHz/1.45 volts
Motherboard Asus P8Z77 WS
Cooling Custom CPU loop
Memory Kingston 12GB DDR3 1600
Video Card(s) Galaxy GTX 680/Zotac GTX 680 in SLi/EVGA GTX 650Ti
Storage 2 Vertex 3 120's, raid 0, 2 Seagate Momentus XT 500GB's in raid 0, 1 Hitatchi 2TB for backup
Display(s) 3 Acer S232HLX2 in nvidia surround
Case Corsair C70 White
Audio Device(s) Onboard
Power Supply Corsair AX1200
Software Win 7 x64 Pro
I gotta say, I use this thing a lot for the trademark and copyright ones! I can -never- remember the codes for those.

Thanks for making this handy lil thing!
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
Hey !! I forgot about my little program.

New version in OP (0.0.2) will now work like on screen keyboard and pastes the codes directly into whatever you are editing in the active window. It still copies it to the clipboard at the same time just in case you want it there too.

Because I am overriding the creation parameters of the form so it does not activate when clicked in, dragging the window works but gives you no visual feeback that the window is moving.
 
Joined
Jul 20, 2008
Messages
4,016 (0.70/day)
Location
Ohio
System Name Desktop|| Virtual Host 0
Processor Intel Core i5 2500-K @ 4.3ghz || 2x Xeon L5630 (total 8 cores, 16 threads)
Motherboard ASUS P8Z68-V || Dell PowerEdge R710 (Intel 5520 chipset)
Cooling Corsair Hydro H100 || Stock hotplug fans and passive heatsinks
Memory 4x4gb Corsair Vengeance DDR3 1600 || 12x4gb Hynix DDR3 1066 FB-DIMMs
Video Card(s) MSI GTX 760 Gaming Twin Frozr 4GB OC || Don't know, don't care
Storage Hitachi 7K3000 2TB || 6x300gb 15k rpm SAS internal hotswap, 12x3tb Seagate NAS drives in enclosure
Display(s) ViewSonic VA2349S || remote iDRAC KVM console
Case Antec P280 || Dell PowerEdge R710
Audio Device(s) HRT MusicStreamer II+ and Focusrite Scarlett 18i8 || Don't know, don't care
Power Supply SeaSonic X650 Gold || 2x870w hot-swappable
Mouse Logitech G500 || remote iDRAC KVM console
Keyboard Logitech G510 || remote iDRAC KVM console
Software Win7 Ultimate x64 || VMware vSphere 6.0 with vCenter Server 6.0
Benchmark Scores Over 9000 on the scouter
Thanks for implementing that feature, it works great! Also, if you click outside of the window and then click back in again, you can move it with visual feedback until you click one of the buttons again it seems.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
I never get visual feedback when moving the window no matter what I do. Oh well ...

Well, I over-engineered the whole thing originally and getting it to work like the OSK is stupidly easy.
Sometimes it pays to set something aside for awhile.

In any form, create a constant as such...
Code:
[color="blue"]private const int[/color] WS_EX_NOACTIVATE = 0x08000000;

Then override the CreateParams method of the form and make it so it won't activate (become the active window) ...
Code:
[COLOR="Blue"]protected override[/COLOR] [COLOR="Teal"]CreateParams[/COLOR] CreateParams
{
    [COLOR="Blue"]get[/COLOR]
    {
        System.Windows.Forms.[COLOR="Teal"]CreateParams[/COLOR] p = [COLOR="Blue"]base[/COLOR].CreateParams;
        p.ExStyle |= WS_EX_NOACTIVATE;
       [COLOR="blue"] return[/COLOR] p;
    }
}

Then in a button click event (or whatever event you want to use), send the value out ..
Code:
[COLOR="Blue"]private void [/COLOR]button_Click([COLOR="blue"]object[/COLOR] sender, [COLOR="Teal"]EventArgs[/COLOR] e)
{
    [COLOR="Teal"]Button [/COLOR]btn = ([COLOR="Teal"]Button[/COLOR])sender;
    [COLOR="Teal"]SendKeys[/COLOR].Send(btn.Text);
}

Free code tip !! No charge. :D
 
Last edited:
Joined
Aug 29, 2005
Messages
7,079 (1.04/day)
Location
Asked my ISP.... 0.0
System Name Lynni PS \ Lenowo TwinkPad T480
Processor AMD Ryzen 7 7700 Raphael \ i7-8550U Kaby Lake-R
Motherboard ASRock B650M PG Riptide Bios v. 2.02 AMD AGESA 1.1.0.0 \ Lenowo 20L60036MX Bios 1.47
Cooling Noctua NH-D15 Chromax.Black (Only middle fan) \ Lenowo WN-2
Memory G.Skill Flare X5 2x16GB DDR5 6000MHZ CL36-36-36-96 AMD EXPO \ Willk Elektronik 2x16GB 2666MHZ CL17
Video Card(s) Asus GeForce RTX™ 4070 Dual OC GPU: 2325-2355 MEM: 1462| Nvidia GeForce MX™ 150 2GB GDDR5 Micron
Storage Gigabyte M30 1TB|Sabrent Rocket 2TB| HDD: 10TB|1TB \ SKHynix 256GB 2242 3x2
Display(s) LG UltraGear 27GP850-B 1440p@165Hz | LG 48CX OLED 4K HDR | AUO 14" 1440p IPS
Case Asus Prime AP201 White Mesh | Lenowo T480 chassis
Audio Device(s) Steelseries Arctis Pro Wireless
Power Supply Be Quiet! Pure Power 12 M 750W Goldie | 65W
Mouse Logitech G305 Lightspeedy Wireless | Lenowo TouchPad & Logitech G305
Keyboard Akko 3108 DS Horizon V2 Cream Yellow | T480 UK Lumi
Software Win11 Pro 23H2 UK
Benchmark Scores 3DMARK: https://www.3dmark.com/3dm/89434432? GPU-Z: https://www.techpowerup.com/gpuz/details/v3zbr
thx Kreij and also thx from my wife. It's an awesome small problem for all does symbols i can remember remember it only once i remember are µ (CTRL+ALT+M), € (CTRL+ALT+E) and $ (CTRL+ALT+3) ^^

so maybe adding an icon for it later?
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
What do you want added, puma?
 
Joined
Aug 29, 2005
Messages
7,079 (1.04/day)
Location
Asked my ISP.... 0.0
System Name Lynni PS \ Lenowo TwinkPad T480
Processor AMD Ryzen 7 7700 Raphael \ i7-8550U Kaby Lake-R
Motherboard ASRock B650M PG Riptide Bios v. 2.02 AMD AGESA 1.1.0.0 \ Lenowo 20L60036MX Bios 1.47
Cooling Noctua NH-D15 Chromax.Black (Only middle fan) \ Lenowo WN-2
Memory G.Skill Flare X5 2x16GB DDR5 6000MHZ CL36-36-36-96 AMD EXPO \ Willk Elektronik 2x16GB 2666MHZ CL17
Video Card(s) Asus GeForce RTX™ 4070 Dual OC GPU: 2325-2355 MEM: 1462| Nvidia GeForce MX™ 150 2GB GDDR5 Micron
Storage Gigabyte M30 1TB|Sabrent Rocket 2TB| HDD: 10TB|1TB \ SKHynix 256GB 2242 3x2
Display(s) LG UltraGear 27GP850-B 1440p@165Hz | LG 48CX OLED 4K HDR | AUO 14" 1440p IPS
Case Asus Prime AP201 White Mesh | Lenowo T480 chassis
Audio Device(s) Steelseries Arctis Pro Wireless
Power Supply Be Quiet! Pure Power 12 M 750W Goldie | 65W
Mouse Logitech G305 Lightspeedy Wireless | Lenowo TouchPad & Logitech G305
Keyboard Akko 3108 DS Horizon V2 Cream Yellow | T480 UK Lumi
Software Win11 Pro 23H2 UK
Benchmark Scores 3DMARK: https://www.3dmark.com/3dm/89434432? GPU-Z: https://www.techpowerup.com/gpuz/details/v3zbr
What do you want added, puma?


just feeling there is something missing dunno if it's me ^^;

maybe.icon.there.jpg


i got no idea of what icon u maybe wanna use maybe someone got one in mind i just feel like i miss a icon ^^;
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
Ohhh .. lol ... a custom icon for the app.
I suck at making icons. Maybe some kind soul who is good at it will offer their services. ;)

Version 0.0.3 is up on OP.
Making the window inactive broke the tooltips, so I fixed that.
Also added Ford's favorites Þ and þ
 
Joined
Sep 25, 2011
Messages
1,770 (0.39/day)
Location
Cussing desert
System Name Torquey Vulture
Processor Ryzen 5 2600
Motherboard Gigabyte B450 MiniITX
Cooling DDC water loop, EK block
Memory 16GB Patriot Viper RGB
Video Card(s) EVGA 1070
Storage 500gb NVME; some Phat HDDs
Display(s) Achieva Shimian 27" 2560x1440
Case Thermaltake V1 MiniITX
Power Supply EVGA supernova 850 G2
Mouse Corsair Harpoon
Keyboard Possibly the cheapest you can buy. Shift key broke recently. Space sounds like I'm kicking a ham
Software Windows 10
Hey, this is awesome Kreij. I just saw it; i'm always looking for those.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
Okay ... beta testing time !

Here is version 0.0.4.2 (it's not in the OP yet).
It adds user defined functionality.

Click on User Defined button "U" and the app will open larger showing 21 buttons with "?"
Right click on any button and it will give you a context menu to define/edit the button. Click on it.
If the small form enter the Alt # (just the number, like "0153") and a description, then click the OK Button.
It should add to whatever button you right clicked on.

If you edit a button and just click OK without a code or description, the button will reset to the "?" (undefined).
I also added a "Clear User Defined" menu option on right click to make that easier.

Clicking the User Defined button "U" again will hide the user defined section.

Time for bug hunting. lol
 

Attachments

  • WinAltCodes_0_0_4_2.exe
    25.5 KB · Views: 440
Last edited:

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
Bump, looking for testers and suggestions.
I know almost everyone is playing D3, so if you take a break .... :laugh:
 
Last edited:
Joined
Sep 25, 2011
Messages
1,770 (0.39/day)
Location
Cussing desert
System Name Torquey Vulture
Processor Ryzen 5 2600
Motherboard Gigabyte B450 MiniITX
Cooling DDC water loop, EK block
Memory 16GB Patriot Viper RGB
Video Card(s) EVGA 1070
Storage 500gb NVME; some Phat HDDs
Display(s) Achieva Shimian 27" 2560x1440
Case Thermaltake V1 MiniITX
Power Supply EVGA supernova 850 G2
Mouse Corsair Harpoon
Keyboard Possibly the cheapest you can buy. Shift key broke recently. Space sounds like I'm kicking a ham
Software Windows 10
The code for the paragraph symbol would be nice. And maybe Pi and square root.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
@Irony : You think those would be commonly used in forum posts?
I wanted the main button (non-user defined) to be what's used the most, so if you think some should be replaced with others tell me what you would almost never use.
 
Joined
Sep 25, 2011
Messages
1,770 (0.39/day)
Location
Cussing desert
System Name Torquey Vulture
Processor Ryzen 5 2600
Motherboard Gigabyte B450 MiniITX
Cooling DDC water loop, EK block
Memory 16GB Patriot Viper RGB
Video Card(s) EVGA 1070
Storage 500gb NVME; some Phat HDDs
Display(s) Achieva Shimian 27" 2560x1440
Case Thermaltake V1 MiniITX
Power Supply EVGA supernova 850 G2
Mouse Corsair Harpoon
Keyboard Possibly the cheapest you can buy. Shift key broke recently. Space sounds like I'm kicking a ham
Software Windows 10
The ones you already have are probably the most common that I would use. I can't really think of others I ever need, the ones I mentioned were the only ones I could think of that I would theoretically ever use. I doubt they would be used very often at all.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
That why I added the user defined section in the latest release (in post #43).
Some people commented they wanted more international characters and such, but I don't see them as being used as often as the ones that I chose for the main ones.

Still, I'm open to suggestions. A utility is only decent if people find it useful. :)
 
Joined
Dec 27, 2007
Messages
8,519 (1.43/day)
Location
Kansas City
System Name The Dove Box Rev 3.0
Processor i7 8700k @ 4.7GHz
Motherboard Asus Maximus X APEX
Cooling Custom water loop
Memory 16GB 3600 MHz DDR4
Video Card(s) 2x MSI 780 Ti's in SLI
Storage 500GB Samsung 850 PCIe SSD, 4TB
Display(s) 27" Asus 144Hz
Case Enermax Fulmo GT
Audio Device(s) ON BOARD FTW
Power Supply Corsair 1200W
Keyboard Logitech G510
Software Win 10 64x
Nice app, can it display the actual ALT code if you hover over the icon? That might be handy.

Plus my favorite ALT Code is ALT+0186. :) I use it alot.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
It does do that, mlee. All buttons have tooltips with the alt code and a description listed in it.

Plus my favorite ALT Code is ALT+0186. I use it alot.

The masculine ordinal number in Spanish, Italian and Portugese? I'm not even sure what it is for ... lol
 
Top