CaseLeaf

Handbook / The `cue` command

The cue command

A clause was argued about at 41 minutes into a recorded meeting, and the next person to read it should be able to hear that.

Takes a mark back to the sound. Where anchor wrote down that this paragraph belongs at minute forty-one of Tuesday's recording, this reads that back and hands you the recording itself, out of the document and onto disk, with the second to start at. It is the reason for tying them in the first place: the next person hears the argument rather than reading a note about it.

How you run it

caseleaf cue report.pdf --page 1 --index 0

What each part means

In full, every part it will take:

caseleaf cue <file> [--mark <id> | --page <n> --index <n>]
part what it is for
<file> The PDF to work on, as a path, such as report.pdf beside you, or the full path to it. It is read and not written.
--mark Which mark to tie to the recording, by the identifier marks prints for it. Use this or --page with --index, not both.
--page Which sheet, counting from 1, so --page 4 is the fourth sheet as it sits in the file, whatever number is printed on it. Needed with --index unless you name the mark outright with --mark; either way round names one mark.
--index And which mark on that page, counting from 0.

What comes back

Asked of a short sample document, it answers as below. The sample has eight sheets, a highlight and a note left by a reviewer, a web link, a small table, two pictures and one form field already filled in.

{
  "bytes" : 64,
  "extracted to" : "meeting.m4a",
  "mark" : "4000-8000-000000000000",
  "play from" : 38,
  "recording" : "meeting.m4a"
}

The same thing from AppleScript

Everything above can be asked for from a script instead. There is one AppleScript command, perform: on names the document, and options takes the rest exactly as you would type it.

tell application "CaseLeaf"
    perform "cue" on "/path/to/report.pdf" ¬
        options "--page 1 --index 0"
end tell

All the commands · Asking from a script · Contents