CaseLeaf

Handbook / The `furniture` command

The furniture command

A long report is going to be read aloud, and nobody wants to hear the same running header forty times.

Reports the margin bands that read-aloud would skip: running heads, footers, page numbers, the furniture of the page rather than its text. It exists because reading a document aloud is ruined by hearing the same header forty times, and because deciding what is furniture is a judgement somebody should be able to check before the reading starts.

How you run it

caseleaf furniture report.pdf

What each part means

In full, every part it will take:

caseleaf furniture <file>

The document, and nothing else.

Also says what each band contains.

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.

{
  "pages" : 8,
  "sheets" : [
    {
      "bands" : 0,
      "sheet" : 1,
      "skipped" : [

      ]
    },
    {
      "bands" : 0,
      "sheet" : 2,
      "skipped" : [

      ]
  … and the rest of the answer

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 "furniture" on "/path/to/report.pdf"
end tell

All the commands · Asking from a script · Contents