var sys = Application ( "System Events" ) ; var usr = sys . currentUser ( ) . name ( ) ; var app = Application . currentApplication ( ) ; app . includeStandardAdditions = true ; app . displayDialog ( usr ) ;