omnijs_run: Perform Omni Product Call

Description Usage Arguments Details Value

View source: R/utils.R

Description

Perform Omni Product Call

Usage

1
omnijs_run(args, type = c("omnigraffle", "omnioutliner"), wait = 0.1)

Arguments

args

Script values to pass in.

type

Program to use for automation. Default "omnigraffle"

wait

Delay applied to function call before opening the URL.

Details

There are two ways to structure URLs for omnigraffle.

  1. "omnigraffle://localhost/omnijs-run?script=%s"

  2. "omnigraffle:///omnijs-run?script="

Note, by adding a third /, we are able to avoid typing localhost.

Value

An opened session of OnmiGraffle or OmniOutliner with contents posted from R.


coatless/omni documentation built on Dec. 12, 2019, 12:43 a.m.