Brackets (code editor) CEF app generated json file like this (for example 2 open window with the same open file):
- Code: Select all
[ {
[ {
"description": "",
"devtoolsFrontendUrl": "/devtools/devtools.html?ws=localhost:9234/devtools/page/708612f03a79347c42e53d27eeca9dc4",
"faviconUrl": "",
"id": "708612f03a79347c42e53d27eeca9dc4",
"thumbnailUrl": "/thumb/708612f03a79347c42e53d27eeca9dc4",
"title": "main.js - Brackets",
"type": "page",
"url": "file:///D:/PROGRAMS/Dev/Brackets/www/index.html",
"webSocketDebuggerUrl": "ws://localhost:9234/devtools/page/708612f03a79347c42e53d27eeca9dc4"
}, {
"description": "",
"devtoolsFrontendUrl": "/devtools/devtools.html?ws=localhost:9234/devtools/page/2dcbabfb06f5aafac87c63bc79eaa4d0",
"faviconUrl": "",
"id": "2dcbabfb06f5aafac87c63bc79eaa4d0",
"thumbnailUrl": "/thumb/2dcbabfb06f5aafac87c63bc79eaa4d0",
"title": "main.js - Brackets",
"type": "page",
"url": "file:///D:/PROGRAMS/Dev/Brackets/www/index.html",
"webSocketDebuggerUrl": "ws://localhost:9234/devtools/page/2dcbabfb06f5aafac87c63bc79eaa4d0"
} ]
So, how from cef app get the id of current window? Can I use the api to get id? And where this json file generated?
Thank you