Need help loading Kate script on Windows 10
Christoph Cullmann (cullmann.io)
christoph at cullmann.io
Tue Dec 28 21:08:25 GMT 2021
On 2021-12-28 22:03, Clinton Reddekop wrote:
> Hi,
>
> Yes, that works. Thank you.
Thanks for testing, fixed now in master docs:
https://invent.kde.org/utilities/kate/commit/a26904dd26c999bab2c192d1e59f8bd951056936
Happy new year for you!
Greetings
Christoph
>
> Clint
>
> On Tue, Dec 28, 2021 at 12:57 PM Christoph Cullmann (cullmann.io [1])
> <christoph at cullmann.io> wrote:
>
>> On 2021-12-24 03:47, Clinton Reddekop wrote:
>>> Hi,
>>>
>>> I've written a script which loads and works fine in Kate on Linux
>>> Mint, but I haven't been able to load it in Kate on Windows 10.
>> I'm
>>> using the instructions here:
>>> https://docs.kde.org/stable5/en/kate/katepart/dev-scripting.html
>>>
>>> On Linux Mint I put the script here:
>>> ~/.local/share/katepart5/script/commands/.
>>> and that works.
>>>
>>> On Windows 10 I put the script here:
>>> %USERPROFILE%\AppData\Local\katepart5\commands\.
>>> and I can't see the script in Kate after restarting Kate or
>> running
>>> the reload-scripts command.
>>>
>>> To complicate things, these are using two different versions of
>> Kate:
>>> 1. Latest from apt repository in Linux Mint:
>>> Kate Version 19.12.3
>>> KDE Frameworks 5.68.0
>>> Qt 5.12.8
>>> Kate Part 5.68.0
>>> 2. Latest from Microsoft Store:
>>> Kate Version 21.12.0
>>> KDE Frameworks 5.88.0
>>> Qt 5.15.2
>>> Kate Part ?
>>>
>>> Can any of you tell me how to get the script to load on Windows
>> 10, or
>>> help me to troubleshoot this problem?
>>>
>>> Please cc: me on replies as I'm not subscribed to this list.
>> Thanks.
>>>
>>> You can find the script "clipboard_append.js" here:
>>> https://github.com/clinton-r/usefulKateScripts
>>
>> Hi,
>>
>> sorry for the late answer.
>>
>> I think the "script" is missing, it should be
>>
>> %USERPROFILE%\AppData\Local\katepart5\script\commands\
>>
>> Could you try this and report back?
>>
>> If that works, I will update the docs.
>>
>> Thanks!
>>
>> Greetings
>> Christoph
>>
>>>
>>> Thanks,
>>> Clinton Reddekop
>>
>> --
>> Ignorance is bliss...
>> https://cullmann.io | https://kate-editor.org
>
>
> Links:
> ------
> [1] http://cullmann.io
--
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org
More information about the KWrite-Devel
mailing list