Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nuget err
#1
#1
It's not possible to install the NuGet package named spire.doc into a folder named spire.doc; an error occurs.
https://i.ibb.co/Tw5fdwM/AA.png

#2
I want to change the script role to a class file, but that option isn't available in the role selection list. Do I have to manually create a new class file? I remember that earlier versions of LA supported conversion in the selection list.
https://i.ibb.co/zVzxGRT/CC.png

#3
In the message box shown below, it would be more convenient if, after clicking the OK button, the Tools -> NuGet dialog box could open automatically.
https://i.ibb.co/hW3DJ5H/DD.png

#4
When switching to the bookmarks or breakpoints tab, the control box height becomes smaller. However, I don't have this issue on my other computer; the height remains the same. Additionally, sometimes there's a blank area between the file search box and the controls below it, which cannot be adjusted. This seems to happen after resizing the open panel and tasks panel. The blank area only disappears after restarting LA.
https://i.ibb.co/6BybQ5S/a.gif

#5
With the text insertion point inside `spire.doc`, pressing F12 failed to open its containing folder.  
`/*/ nuget spire\spire.doc; /*/`

#6
The `using` statement was added repeatedly.
https://i.ibb.co/7VFDsCp/a.gif
#2
2. The "change file type" link is in the initial info text. But the info text does not return to initial. Fixed in next LA.

4. Can't repro. Can I see your Documents\LibreAutomate\.settings\Layout.xml ?
#3
<stack o="v">
    <stack o="h">
        <toolbar name="Menu" />
        <toolbar name="Help" z="690" />
        <toolbar name="Tools" />
        <toolbar name="Custom1" z="274*" />
    </stack>
    <stack o="h" z="600*" s="1">
        <stack o="v" z="232">
            <toolbar name="File" />
            <tab z="620*" s="1" captionAt="Top">
                <panel name="Files" captionAt="Top" />
                <panel name="Outline" captionAt="Top" />
                <panel name="Cookbook" captionAt="Top" />
            </tab>
            <tab captionAt="Top">
                <panel name="Find" captionAt="Top" />
                <panel name="Bookmarks" captionAt="Top" />
                <panel name="Breakpoints" captionAt="Top" />
            </tab>
        </stack>
        <stack o="v" z="1252*">
            <stack o="h">
                <toolbar name="Run" />
                <toolbar name="Edit" />
                <toolbar name="Custom2" z="100*" />
            </stack>
            <stack o="h" z="549*" s="1">
                <stack o="h" z="500*">
                    <document name="documents" z="1118*" captionAt="Right" />
                    <stack o="v" z="162*">
                        <panel name="Open" z="273*" captionAt="Top" floatRect="1184 241 214 94 96 2" />
                        <panel name="Tasks" z="139*" captionAt="Top" floatRect="1191 358 214 64 96 2" />
                    </stack>
                </stack>
                <panel name="Debug" z="250" captionAt="Top" state="1" />
            </stack>
            <tab z="129">
                <panel name="Output" />
                <panel name="Mouse" />
                <panel name="Found" floatRect="283 563 1298 212 96 2" />
                <panel name="Recipe" />
            </tab>
        </stack>
    </stack>
</stack>
#4
To fix it, right-click the splitter above, and select Bottom fixed.

I can reproduce when using this XML file. But I failed to reproduce it in UI (when initially everything is normal). Do you know how to reproduce this again after fixing it?

Splitters around toolbars have option like Left auto. Splitters around panels don't have this option, but in this case somehow this option is applied anyway, therefore the height of the Find-Bookmarks-Breakpoints tabs depends on their content.
#5
Quote:Do you know how to reproduce this again after fixing it?

I also can't reproduce it.  
This issue likely appeared after I upgraded the old version of LA, and it doesn't have much impact.

#7
After changing the icon, the compiled exe file's icon doesn't update accordingly. This issue frequently occurs on several computers.
https://i.ibb.co/xhvRgDs/ico.png
#6
#7. Windows Explorer uses an icon cache, and does not update changed file icons. Should update after reboot. I don't know a way to update quickly. Sometimes, when really need, I run this script. It deletes the cache and restarts explorer.exe. May not work well. Not tested today.
 
Code:
Copy      Help
The new code is in post #10.
#7
That's strange. After executing the above code, there was no effect.
#8
Then try to rename the exe file or move to another folder. If still no effect, probably forgot to recompile.
#9
rename is effective
#10
Code:
Copy      Help
// script "Delete shell icon cache.cs"
/*/ uac admin; /*/

int id = wnd.getwnd.shellWindow.ProcessId;
process.terminate(id, 1);
try {
    process.waitForExit(0, id, out _);
    
    var a = process.getProcessIds("explorer.exe");
    foreach (var v in a) {
        process.terminate(v, 1);
        process.waitForExit(0, v, out _);
    }

    
    string folder = folders.LocalAppData + @"Microsoft\Windows\Explorer";
    bool failed = false;
    foreach (var f in filesystem.enumFiles(folder, "iconcache*.db")) {
        //print.it(f);
        failed |= false == filesystem.delete(f.FullPath, FDFlags.CanFail);
    }

    if (failed) osdText.showText("Failed to delete some cache files.\nClose programs that may use it.\nTry to run this script again.");
}

finally { run.it(folders.Windows + @"explorer.exe", flags: RFlags.InheritAdmin); }
#11
thank you!


Forum Jump:


Users browsing this thread: 1 Guest(s)