Where can I find webdialog's position and size in su 2018
-
In su2017 or before, each Webdialog's position and size was stored in registry .
but where can i find Webdialog's position and size when I use sketchup 2018 ?
thanks a lot!
wikii
-
C:/Users/USERNAME/AppData/Local/SketchUp/SketchUp 2018/SketchUp/**PrivatePreferences.json**
For example, for the "ExtensionStore" toolbar info, you need to find the entries using some grepping and parsing/splitting... for the toolbar
"RubyWorkspace\\ToolbarsUser-Bar8"; { "BarID"; 59661, "BarName"; "ExtensionStore" },
and from its BarID, its status later on
"RubyWorkspace\\RubyToolBar-59661"; { "Columns"; 0, "DockBarId"; 0, "Visible"; 1 },
and for its main dialog details
"WebDialog_SketchUcation ExtensionStore"; { "Height"; 918, "Left"; 11, "Top"; 84, "Width"; 862 },
for this kind of entry note that another 'prefix' might apply for the newer HTML dialog type - test it..
-
@tig said:
C:/Users/USERNAME/AppData/Local/SketchUp/SketchUp 2018/SketchUp/**PrivatePreferences.json**
For example, for the "ExtensionStore" toolbar info, you need to find the entries using some grepping and parsing/splitting... for the toolbar
"RubyWorkspace\\ToolbarsUser-Bar8"; { > "BarID"; 59661, > "BarName"; "ExtensionStore" > },
and from its BarID, its status later on
"RubyWorkspace\\RubyToolBar-59661"; { > "Columns"; 0, > "DockBarId"; 0, > "Visible"; 1 > },
and for its main dialog details
"WebDialog_SketchUcation ExtensionStore"; { > "Height"; 918, > "Left"; 11, > "Top"; 84, > "Width"; 862 > },
for this kind of entry note that another 'prefix' might apply for the newer HTML dialog type - test it..
Great!
Many thanks!
wikii
Advertisement