// For transparet availability, place in startup, change // extension to ".s" and uncomment the following line // HideSelf(); Window w; while true do w := nil; Int k := WaitForAnyKey( w, KeyCode( "Alt+F1" ), KeyCode( "Alt+F2" )); // Several keys can be placed here, and they can take complicated actions Sleep( 500 ); // Allow target application time to process last messages if k = 1 then // Post signature PostString( w, "First M. Last" ); // Another method is shown below in comments //SetClipboardText( "First M. Last" ); //PostChar( w, KeyCode( "Control+V" )); elseif k = 2 then PostString( w, GetCurrentDate()); endif; endwhile;