Skip to content

FR: Extension preference keys #274

@phillscholl

Description

@phillscholl

Feature request

I would love to have additional dynamic Extension preference keys, similar to the existing keys such as _alert, _loading, _symbol, _action_type, and _action.

Currently, Extension values and some properties can be updated dynamically through preference keys, as described here:
https://github.com/root3nl/SupportApp/wiki/Extensions

It would be very useful if the Extension title and subtitle could also be controlled dynamically, for example with keys like:

  • <extension_id>_title
  • <extension_id>_subtitle

Use case

This would allow administrators to update not only the Extension value, symbol, alert state, or action dynamically, but also the displayed title and subtitle depending on script output, device state, user context, or management system data.

Example

defaults write /Library/Preferences/nl.root3.support.plist "${extension_id}_title" -string "Last Check-in"
defaults write /Library/Preferences/nl.root3.support.plist "${extension_id}_subtitle" -string "Updated by script"

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