PopClip JavaScript API Reference
    Preparing search index...

    Type Alias AfterStep

    AfterStep:
        | BeforeStep
        | "popclip-appear"
        | "copy-selection"
        | "show-status"
        | "copy-result"
        | "paste-result"
        | "show-result"
        | "preview-result"

    Strings which can be used to specify the Action.after action.

    Type Declaration

    • BeforeStep
    • "popclip-appear"

      Trigger PopClip to appear again with the current selection.

    • "copy-selection"

      Place the originally selected text on the clipboard.

    • "show-status"

      Show a tick or an 'X', depending on whether the action succeeded.

    • "copy-result"

      Copy the result to the clipboard.

    • "paste-result"

      Paste the result if the app's Paste command is available, else copy it.

    • "show-result"

      Copy the result and show it, truncated to 160 characters.

    • "preview-result"

      As show-result, but the preview can be clicked to paste.