name

abstract var name: String(source)

A screen source will be named either Entire Screen or Screen <index>, while the name of a window source will match the window title.