Expert Tips for Optimizing Your IBaseShortcut Usage

Expert Tips for Optimizing Your IBaseShortcut Usage

Michael Lv8

Expert Tips for Optimizing Your IBaseShortcut Usage

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

IBaseShortcut

Using this interface, you can edit the shortcut.

https://techidaily.com

Declaration

IBaseShortcut : IDirectoryMember

https://techidaily.com

Properties

IDirectoryMember properties:

  • String Name - Sets or gets the shortcut name.
  • IFolder Directory - Sets or gets the directory in which the shortcut is located.
  • String FullPath - Gets the path of the Advanced Installer project.
  • String Type - Gets the type of shortcut as a string.

String Description - Gets or sets the description of the shortcut.

IFolder WorkingDirectory - Gets or sets the working directory for the shortcut.

String WorkingDirectoryPath - Gets or sets the working directory using the project path.

Bool RunAsAdmin - Gets or sets the run as admin shortcut flag.

Bool PinToTaskbar - Gets or sets the pin to taskbar shortcut flag.

Bool PreventAutoPinStart - Gets or sets the prevent auto pin start shortcut flag

Bool Advertised - Gets or sets the advertised shortcut flag.

String RunMode - Gets or sets run mode for the shortcut. Values you can choose from are: “Normal”, “Maximized” or “Minimized”.

String Arguments - Gets or sets arguments for the shortcut.

IFile Target - Gets the target file for the shortcut.

https://techidaily.com

Methods

IDirectoryMember methods:

  • DeleteFile() - This method deletes the shortcut from the project. The object on which this method is called is no longer available for editing.

Icon(String iconPath, int iconIndex = 0) - Set an icon for the shortcut using a file from disk with the path iconPath. By default, the first image at that location will be set but you can set another image using iconIndex.

Ishortcut

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Expert Tips for Optimizing Your IBaseShortcut Usage
  • Author: Michael
  • Created at : 2024-10-08 19:26:18
  • Updated at : 2024-10-11 05:36:24
  • Link: https://fox-web3.techidaily.com/expert-tips-for-optimizing-your-ibaseshortcut-usage/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Expert Tips for Optimizing Your IBaseShortcut Usage