#NoEnv SendMode Input SetWorkingDir %A_ScriptDir% GUI, Add, Button, x32 y89 w100 h30 , Calculate GUI, Add, Text, x32 y39 w100 h40 +Center , Celsius to Fahrenheit GUI, Add, Button, x302 y89 w100 h30 , Compute GUI, Add, Text, x302 y39 w100 h30 , Fahrenheit to Celsius GUI, Show, x334 y171 h379 w479, Temperature Converter Gui, Add, Button, x22 y269 w100 h30 , Go Gui, Add, Text, x22 y219 w100 h30 , Feet to Meters Gui, Add, Button, x302 y269 w100 h30 , Onward Gui, Add, Text, x302 y219 w100 h30 , Meters to Feet Return ButtonCalculate: { Gui, new Gui, Add, Edit, x22 y39 w140 h60 vInput , Number to Convert Gui, Add, Button, x42 y119 w100 h30 , Submit Gui, Show, x301 y166 h173 w200, Convert Return ButtonSubmit: { gui, submit Input := Input * 1.8 + 32 sleep 250 { Gui, new Gui, Add, Text, x32 y49 w170 h80 +Center +BackgroundTrans, The output is: %Input% Fahrenheit Gui, Show, x389 y185 h190 w236, Output Return } } } ButtonCompute: { Gui, new Gui, Add, Edit, x42 y39 w120 h60 vInput1 , Number to Convert Gui, Add, Button, x52 y129 w100 h30 , Convert Gui, Show, x175 y128 h191 w209, Convert Return ButtonConvert: { gui, submit Input1 := ( Input1 - 32 ) * 0.5555556 sleep 250 { gui, new Gui, Add, Text, x52 y59 w110 h40 , The output is: %Input1% Celsius Gui, Show, x325 y221 h201 w215, Output Return } } } ButtonGo: { gui, new Gui, Add, Edit, x62 y49 w150 h70 vInput2 , Number to Convert Gui, Add, Button, x82 y149 w100 h30 , Lift Off! Gui, Show, x292 y147 h245 w276, Convert Return ButtonLiftOff!: { gui, submit Input2 := Input2 / 3.2808 sleep 250 { Gui, new Gui, Add, Text, x22 y29 w160 h100 +Center +BackgroundTrans, The output is : %Input2% Meters Gui, Show, x175 y113 h187 w209, Output Return } } } ButtonOnward: { gui, new Gui, Add, Edit, x42 y49 w140 h70 vInput3 , Number to Convert Gui, Add, Button, x62 y149 w100 h30 , YeeHaw! Gui, Show, x266 y186 h222 w228, Convert Return ButtonYeeHaw!: { gui, submit Input3 := Input3 * 3.2808 sleep 250 { gui, new Gui, Add, Text, x32 y29 w150 h120 +BackgroundTrans, The output is : %Input3% Feet Gui, Show, x266 y186 h222 w228, Output Return } } }