Tutorial: System.getAllWindows

System.getAllWindows

Retrieves an array of data (name, ids, bounds) for all application windows

Example

fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));