jot_open: Open and Close jot Notepads

View source: R/active.R

jot_openR Documentation

Open and Close jot Notepads

Description

  • jot_open() and jot_activate() opens an existing notepad and sets it to active.

  • jot_current() and jot_active() return the path to the current notepad.

  • jot_close() and jot_deactivate() closes the open notepad, if there is one.

Usage

jot_open(pad)

jot_activate(pad)

jot_active()

jot_current()

jot_close()

jot_deactivate()

Arguments

pad

path to file to open

Value

path to pad, invisibly

Examples

tf <- tempfile()
jot_new_pad(tf)
jot_open(tf)
jot_active()
jot_current()
jot_close()
jot_active()

jot documentation built on Aug. 27, 2022, 5:05 p.m.