Tutorial: application.getShortcuts

application.getShortcuts

Retrieves current configuration of application's shortcuts.

Config

{
    desktop: true,          // application has a shortcut on the desktop
    startMenu: false,       // application has no shortcut in the start menu
    systemStartup: true     // application will be launched on system startup
}

Example

var application = fin.desktop.Application.getCurrent();

application.getShortcuts(function(config) {
    console.log("Desktop shortcut is enabled: ", config.desktop);
    console.log("Start Menu shortcut is enabled: ", config.startMenu);
    console.log("System Startup shortcut is enabled: ", config.systemStartup);
});