Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about QM3 Some suggestions
Also please show your Documents\LibreAutomate\.settings\Layout.xml
<stack o="v">
    <stack o="h">
        <toolbar name="Menu" />
        <toolbar name="Help" z="684" />
        <toolbar name="Tools" floatRect="997 112 254 41 96 2" />
        <toolbar name="Custom1" z="515*" />
    </stack>
    <stack o="h" z="914*" s="1">
        <stack o="v" z="231">
            <toolbar name="File" />
            <tab z="699*" s="1" captionAt="Top">
                <panel name="Files" captionAt="Top" floatRect="300 232 249 330 96 2" />
                <panel name="Cookbook" captionAt="Top" floatRect="129 106 245 715 96 2" />
                <panel name="Outline" captionAt="Top" floatRect="103 115 245 715 96 2" />
            </tab>
            <tab z="184" s="1" captionAt="Top">
                <panel name="Find" captionAt="Top" />
                <panel name="Bookmarks" captionAt="Top" floatRect="223 792 261 217 96 2" />
                <panel name="Breakpoints" captionAt="Top" />
            </tab>
        </stack>
        <stack o="v" z="1465*" s="1">
            <stack o="v" z="874*">
                <stack o="h">
                    <toolbar name="Run" />
                    <toolbar name="Edit" floatRect="610 245 420 41 96 2" />
                    <toolbar name="Custom2" z="781*" />
                </stack>
                <stack o="h" z="660*" s="1">
                    <stack o="h" z="100*">
                        <panel name="Recipe" z="623*" captionAt="Top" floatRect="1079 42 821 969 96 0" window="Unowned" />
                        <document name="documents" z="645*" s="1" captionAt="Right" />
                    </stack>
                    <panel name="Debug" z="373" captionAt="Top" state="1" />
                    <stack o="v" z="194" s="1">
                        <panel name="Open" z="445*" captionAt="Top" floatRect="1205 354 249 177 96 2" />
                        <panel name="Tasks" z="217*" s="2" captionAt="Top" floatRect="1176 351 319 561 96 2" />
                    </stack>
                </stack>
                <tab z="187" s="1" floatRect="437 816 1304 178 96 2">
                    <panel name="Output" floatRect="451 818 1304 178 96 2" />
                    <panel name="Found" floatRect="437 816 1304 178 96 2" />
                </tab>
            </stack>
            <panel name="Mouse" z="37" s="1" floatRect="619 838 1085 198 96 2" />
        </stack>
    </stack>
    <panel name="Mouse2" ext="" z="38*" state="1" />
</stack>

Quote:What is the screen DPI? (Settings > System > Display > Scale).

100%
With your Layout.xml the splitter cursor is displayed normally on my PC. If your mouse device and settings are OK or can't be changed, maybe it is yet another WPF quirk that occurs on some computers. Exit LA and edit the xml file:

<document name="documents" z="645*" s="1" captionAt="Right" />
->
<document name="documents" z="645*" s="4" captionAt="Right" />
thank you!
This issue isn't too important. change it to 2 or a higher value, everything works fine.
s="2"
ver: 1.5.0
In the example code from the cookbook below, there is no `nuget install xxxx` prompt in the output pane during execution. I remember that in many cases, this prompt link would be added to the output pane, and when I clicked it, it would automatically open the NuGet installation dialog. This is very convenient.
 
Code:
Copy      Help
/*/ nuget -\Microsoft.Web.WebView2; /*/

using Microsoft.Web.WebView2.Wpf;
using System.Windows;
using System.Windows.Controls;

var b = new wpfBuilder("Window").WinSize(700, 600);
b.Row(-1).Add(out WebView2 k);
b.R.AddSeparator();
b.R.AddOkCancel();
b.End();

b.Loaded += () => {
    var env = Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateAsync(null, @"C:\Temp", null).Result;
    k.EnsureCoreWebView2Async(env);
    k.Source = new("https://www.google.com");
};

if (!b.ShowDialog()) return;
The link is in the last printed line. Also in the tooltip.
Quote:Script114.cs(1,11): error in meta: NuGet package not installed: -\Microsoft.Web.WebView2
    Install Microsoft.Web.WebView2...
or
Quote:Script114.cs(1,11): error in meta: NuGet package not installed: -\Microsoft.Web.WebView2
    Replace code `nuget -\Microsoft.Web.WebView2` with `nuget GUI\Microsoft.Web.WebView2`
    Or install or move Microsoft.Web.WebView2 to folder -.
https://i.ibb.co/GRRSTQn/A.png

In the past, there used to be an installation link at the end (or possibly the beginning) of the error message, and clicking it would automatically open the NuGet Package Manager dialog.
It means the NuGet package was installed, but now some files are missing. Unusual. Maybe in portable LA, when some files excluded when copying.
I often encounter the situation mentioned above. Sometimes, I copy some files from the `.nuget` folder of the LA installed version to the corresponding folder in the LA portable version. Sometimes it doesn't work, and it might be due to missing some files. I'm confused about this.

In LP scripts, the NuGet packages referenced by the code are automatically downloaded and installed, even in the free version of LP.
https://i.ibb.co/FHHYxtf/B.png

PS: To implement automatic installation of library files using NuGet in LA, it is necessary to eliminate the .NET SDK, which currently seems somewhat challenging.


Forum Jump:


Users browsing this thread: 2 Guest(s)