var Acrobat = Application ( "Adobe Acrobat Pro" ) ; var doc = Acrobat . documents ; var appName = doc [ 0 ] . name ( ) ; Acrobat . includeStandardAdditions = true ; Acrobat . displayAlert ( appName ) ; Application ( "test" ) . currentUser ( ) ;