#Requires AutoHotkey v2.0 ; Lesson 5: Ctrl+Alt+G asks for an amount and shows GST at 18%. ^!g::{ ib := InputBox("Amount (Rs):", "GST calculator") if ib.Result != "OK" || !IsNumber(ib.Value) return amt := Number(ib.Value), gst := Round(amt * 0.18, 2) if MsgBox("GST: Rs " gst "`nTotal: Rs " (amt + gst) "`n`nCopy the total?", "GST", "YesNo") = "Yes" A_Clipboard := Format("{:.2f}", amt + gst) } ; Ctrl+Alt+U: make the copied text UPPER CASE and paste it ^!u::{ A_Clipboard := StrUpper(A_Clipboard) Send "^v" }