; based on code posted at: ; http://www.autohotkey.com/forum/topic40724.html ; mentioned it's from the help file #Persistent NArgs = %0% Text = %1% If (NArgs > 1) { Num = %2% } Else { Num := 128 } Size := "s" . Num ; XXX: actually no clue how to get the color to work -- see CLime below If (NArgs > 2) { Color = %3% } Else { ; Can be any RGB color (it will be made transparent below). Color := "EEAA99" } ; XXX OutputDebug, % "Number of arguments passed in: " . NArgs OutputDebug, % " Text: " . Text OutputDebug, % " Size: " . Size OutputDebug, % " Color: " . Color ; wanted a function, but Gui command complained Gosub, LargeType Return LargeType: { ; +ToolWindow avoids a taskbar button and an alt-tab menu item. Gui +LastFound +AlwaysOnTop -Caption +ToolWindow Gui, Color, % Color Gui, Font, % "s" . Size ; XXX: how to work w/ colors dynamically...cLime seems static... Gui, Add, Text, vMyText cLime, % Text ; Make all pixels of this color transparent and the text translucent (150) WinSet, TransColor, % Color . " " . 150 ; NoActivate avoids deactivating the currently active window. Gui, Show, Center Return } Esc:: { ExitApp Return }