<div dir="ltr"><div>Hi,</div><div><br></div><div>Yes, that works. Thank you.</div><div><br></div><div>Clint<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 28, 2021 at 12:57 PM Christoph Cullmann (<a href="http://cullmann.io">cullmann.io</a>) <<a href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2021-12-24 03:47, Clinton Reddekop wrote:<br>
> Hi,<br>
> <br>
> I've written a script which loads and works fine in Kate on Linux<br>
> Mint, but I haven't been able to load it in Kate on Windows 10. I'm<br>
> using the instructions here:<br>
> <a href="https://docs.kde.org/stable5/en/kate/katepart/dev-scripting.html" rel="noreferrer" target="_blank">https://docs.kde.org/stable5/en/kate/katepart/dev-scripting.html</a><br>
> <br>
> On Linux Mint I put the script here:<br>
> ~/.local/share/katepart5/script/commands/.<br>
> and that works.<br>
> <br>
> On Windows 10 I put the script here:<br>
> %USERPROFILE%\AppData\Local\katepart5\commands\.<br>
> and I can't see the script in Kate after restarting Kate or running<br>
> the reload-scripts command.<br>
> <br>
> To complicate things, these are using two different versions of Kate:<br>
> 1. Latest from apt repository in Linux Mint:<br>
> Kate Version 19.12.3<br>
> KDE Frameworks 5.68.0<br>
> Qt 5.12.8<br>
> Kate Part 5.68.0<br>
> 2. Latest from Microsoft Store:<br>
> Kate Version 21.12.0<br>
> KDE Frameworks 5.88.0<br>
> Qt 5.15.2<br>
> Kate Part ?<br>
> <br>
> Can any of you tell me how to get the script to load on Windows 10, or<br>
> help me to troubleshoot this problem?<br>
> <br>
> Please cc: me on replies as I'm not subscribed to this list. Thanks.<br>
> <br>
> You can find the script "clipboard_append.js" here:<br>
> <a href="https://github.com/clinton-r/usefulKateScripts" rel="noreferrer" target="_blank">https://github.com/clinton-r/usefulKateScripts</a><br>
<br>
Hi,<br>
<br>
sorry for the late answer.<br>
<br>
I think the "script" is missing, it should be<br>
<br>
%USERPROFILE%\AppData\Local\katepart5\script\commands\<br>
<br>
Could you try this and report back?<br>
<br>
If that works, I will update the docs.<br>
<br>
Thanks!<br>
<br>
Greetings<br>
Christoph<br>
<br>
> <br>
> Thanks,<br>
> Clinton Reddekop<br>
<br>
-- <br>
Ignorance is bliss...<br>
<a href="https://cullmann.io" rel="noreferrer" target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" rel="noreferrer" target="_blank">https://kate-editor.org</a><br>
</blockquote></div>