Scripting

Introduction

Scripting allows for automated workflows and integration with other apps.

Scheduling a Session

The following AppleScript code starts a new session. Be sure to adjust the task name and duration.

tell application "1Focus" to schedule task "Example" for minutes 30