Developer
WebSocket API
Commands
Layouts

Layouts

LoadLayout, SaveLayout, DeleteLayout, FavoriteLayout

rawDataslot index

Acts on a saved layout. Slots start at 0.

send('LoadLayout', { rawData: '0' });

RequestLayoutInfo

ResponseUpdateLayoutInfo
on('UpdateLayoutInfo', (info) => console.log('Loaded layout:', info.current));
send('RequestLayoutInfo');
Response
{
  current: string     // Index of the loaded layout
  favorite: string    // Index of the favorite layout
  layouts: { name: string, index: number, version: number, windowCount: number }[]
}