setting: Define a Video Setting

Description Usage Arguments Details Value Author(s) See Also

View source: R/setting.R

Description

Define the setting within which to shoot a video.

Usage

1
2
3
setting(create, capture, focus, close, key, pointer)
localLinux()
localWindows()

Arguments

create

A function that can create a window on the desktop, given information about a location element (x, y, width, height, and shell command). This function should return a numeric ID for the window.

capture

A function that can return the numeric ID of the window with current focus. Like create, it takes a location (x, y, width, height) and modifies the location and size of the window.

focus

A function that can give focus to a window on the desktop, given a numeric ID. If the ID is NULL, the function should show a blank desktop (minimize all windows).

close

A function that can close a window on the desktop, given a numeric ID.

key

A function that can send key events to the window with focus. This function is given the information from a keyaction element (keys and key delay).

pointer

A function that can send pointer events to the window with focus. This function is given the information from a pointeraction element.

Details

The setting function is used to define a setting for shooting a movie.

The localLinux function defines a Linux setting. It assumes the existence of a windowing system and the utilities that underly the wmctrl and xdotool packages.

The localWindows function defines a Windows setting. It assumes that AutoHotKey is installed.

Value

An object of class DirectorSetting.

Author(s)

Paul Murrell

See Also

shootVideo


pmur002/director documentation built on Feb. 18, 2021, 10:23 p.m.