I recently reinstalled the operating system from Windows 8 to Windows 10
Да. Это не сработало не с 2018 не с 2020 версией
Джон, возможна ли проблема в реестре операционной системы? Возможно, после переустановки поменялись пути к папкам программы? Как-то можно посмотреть в коде окна диспетчера расширений, куда оно ведет? Еще раз прошу меня извинить за грамматические ошибки. Мой английский язык не идеален)
John, is there a problem in the registry of the operating system? Perhaps after reinstalling the paths to the program folders changed? Somehow you can see in the code of the extension manager window, where does it lead? Once again, I apologize for the grammatical errors. My English is not perfect)
no, I can’t ‘see’ the missing code, but what shows in ‘Inspector’ is the first step for any HtmlDialog window being created in SU…
john
I found this error in the application code. How can I fix it? Where to specify the right path for the extension manager
try this in ‘Ruby Console’ and then ‘Inspect’ it…
dialog = UI::HtmlDialog.new(
{
:dialog_title => "Dialog Example",
:preferences_key => "com.sample.plugin",
:scrollable => true,
:resizable => true,
:width => 600,
:height => 400,
:left => 100,
:top => 100,
:min_width => 50,
:min_height => 50,
:max_width =>1000,
:max_height => 1000,
:style => UI::HtmlDialog::STYLE_DIALOG
})
dialog.set_url("http://www.sketchup.com")
dialog.show
Which command to call these parameters?
open Ruby Console >> ‘Copy >> Paste’ all the code into the input box >> Enter
john
Here is my result
John, I’m sorry, I don’t understand you. What do I need to do in this window?
If it does not make that window you most likely have a bad installation of SketchUp…
john
In the root folder of the program, I found this file. If you open it in a browser, you can see the extension manager window I need)) Only the buttons do not work. Maybe in this file you need to fix errors?
I think something else is broken…
you could add that file to the ruby code from above…
# change
# dialog.set_url("http://www.sketchup.com")
dialog.set_url("<paste the path to that file>")
may help find the problem if this works…
@DanRathbun may have better windows advice…
john
you do need to copy paste your path yourself, not just use my example code…
john
John, I’m sorry, but again I didn’t understand you. How do I need to insert your code and my path?