I'm not sure if this is somehow obsolete or has already been done but if not, it should help.
; Not a complicated script but very useful ;_______________________________________________________________________________ ; Usage: Follow the prompts and enter either a hexadecimal value, ie, an or many ; integer/s or alphabetical value/s (Between A-F) proceeded by the prefix, ; 0x (Zero Multiplied By). For example, 0x8 OR/ 0xFFACD. Or a ; ; decimal ;value ; such as 987 or 250. ;_______________________________________________________________________________ ; ; ;--------------------------------------------- ;HOTKEY- (Feel free to change to your liking) ;--------------------------------------------- #p:: ;--------------------------------------------- ;HEX TO DECIMAL ;--------------------------------------------- MsgBox 4, Hexadecimal Conversion Tool,Hexadecimal to Decimal? IfMsgBox, No Gosub, Label1 IfMsgBox, Yes InputBox, Hex1, Enter a Hexadecimal value SetFormat, integer, decimal Lolly -= 0 MsgBox, 0, Hexadecimal Conversion Tool, The Decimal value is %Hex1% Exit ;--------------------------------------------- ;DECIMAL TO HEX ;--------------------------------------------- Label1: MsgBox, 4, Hexadecimal Conversion Tool, Decimal to Hexidecimal? IfMsgBox, No Exit InputBox, Dec1, Enter a Decimal value SetFormat, integer, hex Lollies += 0 MsgBox, 0, Hexadecimal Conversion Tool, The Hexadecimal value is %Dec1%