hammerspoon2-docs
    Preparing search index...

    Function textPrompt

    • Create a text input prompt Shows a modal dialog with a text input field. The callback receives the button index and the entered text.

      Parameters

      • message: string

        The prompt message

      Returns HSUITextPrompt

      An HSUITextPrompt object for chaining