Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Create Internet Shortcut, support for FileMaker links #34

@kMikaZu

Description

@kMikaZu

Situation

I implemented this script successfully and tried to add a link to a FileMaker database.

The link structure is as follows: FMP://fms.server.com/name_database and is as such being used for the HOSTNAME variable.

I added the following section to the script:

if [[ $HOSTNAME == fmp* ]]; then
    FILEEXT=inetloc
    DEFAULTICON="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericFileServerIcon.icns"
fi

I also defined both the DISPLAYNAME and ICON variables.

Problem

The problem is that:

  • the icon is not being accepted (generic icon is being applied)
  • the desktop shortcut is being added every time after a login and as such doubles up every time.

Thanks for having a look.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions