Waiting for a connection with Sciter's view on pipe...
To enable inspector in your application place call of either one of these in the code of your application:
SciterSetOption(NULL, SCITER_SET_DEBUG_MODE, TRUE);
at the beginning of your main function. This will enable Inspector for any Sciter window/view, orSciterSetOption(hwndSciter, SCITER_SET_DEBUG_MODE, TRUE);
for the particular Sciter window but before loading HTML in it.Shortcuts that are active in inspector-enabled view:
CTRL+SHIFT+I
- connect current view to the Inspector;CTRL+SHIFT+{mouse click}
on some DOM element - select the element for the inpection (styles, attributes, etc.).To connect with the Inspector from script put the following:
if( view.connectToInspector )// the view is in debug mode view.connectToInspector(rootElement, inspectorIpAddress);
where rootElement and inspectorIpAddress are optional - if they are omitted it will try to connect root of the view with the inspector running on localhost.