string GetToolbarSettings ()

Gets JSON encoded settings for the calling toolbar browser

Security

Trust Level Required: Medium

Return

The JSON encoded toolbar settings.

Remarks

This method can only be called from a Toolbar window. The best place to call this method is from the CustomToolbarCode.js file in the UserData directory. The example provided will call the method from a window that is not a Toolbar. In this case, KioApp.InjectJavaScript is required.

Examples


KioApp.InjectJavaScript("alert(JSON.stringify(KioApp.GetToolbarSettings()))", null, false, 1, 4);
    

Requirements

KioWare for Windows version 8.1 or greater.