Skip to content

[Request] AppleScript: ability to write to the Log view #615

Description

@chris-scheurle

Right now, in my hooks, I usetell application "CodeKit" to display alert "..."to display errors and warnings, should anything go wrong.

But it would be much cooler, if those messages just showed up in the normal log, instead of interrupting my work with dialog boxes. Something like:

tell application "CodeKit"
    -- type: error/warning/success
    -- return value: 0 on success, 1 if no project/framework contained the path you supplied, 2 if a problem occurred
    if ( log error "..." for path "..." ) > 0 then 
        -- display a dialog, instead
        display alert "..."
    end if
end tell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions