DEV Community

Josua Schmid
Josua Schmid

Posted on

Autostart OpenRecall

I'm running OpenRecall to record my screen and index the screenshots. To start it automatically on login on my Macbook, I installed an AppleScript automation:

on run {input, parameters}

    tell application "iTerm"
        activate
        create window with default profile
        tell current session of current window
            write text "cd /Users/josua/p/openrecall/ && python3 -m openrecall.app"
        end tell
    end tell

    return input
end run
Enter fullscreen mode Exit fullscreen mode

On save (CMD+S) this will create an app under services which you can then install as login item.

Top comments (0)