Skip to main content

ShortcutDetails Object

  • target string - The target to launch from this shortcut.要从此快捷方式启动的目标。
  • cwd string (optional) - The working directory. Default is empty.工作目录。默认值为空。
  • args string (optional) - The arguments to be applied to target when launching from this shortcut. Default is empty.从该快捷方式启动时要应用于target的参数。默认值为空。
  • description string (optional) - The description of the shortcut. Default is empty.快捷方式的描述。默认值为空。
  • icon string (optional) - The path to the icon, can be a DLL or EXE. 图标的路径可以是DLL或EXE。icon and iconIndex have to be set together. iconiconIndex必须一起设置。Default is empty, which uses the target's icon.默认值为空,使用目标的图标。
  • iconIndex number (optional) - The resource ID of icon when icon is a DLL or EXE. Default is 0.icon是DLL或EXE时,图标的资源ID。默认值为0。
  • appUserModelId string (optional) - The Application User Model ID. 应用程序用户模型ID。Default is empty.默认值为空。
  • toastActivatorClsid string (optional) - The Application Toast Activator CLSID. 应用程序Toast Activator CLSID。Needed for participating in Action Center.需要参与行动中心。