I am working on app for office 2013, now when i create a project it asks what capabilities do i like this to work for like word, excel, etc... that information is saved in the app manifest and that's fine but how inside the application i can figure out the name of the currently running app like whether it's "Microsoft Word", "Microsoft Excel" how do i get that information via code.
These are the capabilities that i added
<Capabilities>
<Capability Name="Workbook" />
<Capability Name="Presentation" />
<Capability Name="Project" />
<Capability Name="Document" />
</Capabilities>
My question is how can i get the current office application using my app with javascript?