Page 1 of 1

LK_EmbedScript - Quickly embed, edit and reload embedded layerscripts

Posted: Thu May 06, 2021 10:07 am
by Lukas
Link: Tool that allows you to quickly embed, reload(!) and edit embedded layerscripts that are saved in the custom content folder. It will try to use Sublime Text as an editor for the lua files, but you could adjust that to any other editor.

(You can delete all layer scripts in the zip if you don't need them, but keep the folder and LK_Dummy.lua)

Hope it's useful to anyone!

Image

Re: LK_EmbedScript - Quickly embed, edit and reload embedded layerscripts

Posted: Thu May 06, 2021 12:59 pm
by SimplSam
Great idea and nice UI.

I have not used it in anger yet, but I did get an error when I tried the: "Find all embedded scripts" feature: FO_Utilities.lua:407: attempt to index global 'LK_Powertool'

Re: LK_EmbedScript - Quickly embed, edit and reload embedded layerscripts

Posted: Thu May 06, 2021 3:10 pm
by Lukas
SimplSam wrote: Thu May 06, 2021 12:59 pm Great idea and nice UI.

I have not used it in anger yet, but I did get an error when I tried the: "Find all embedded scripts" feature: FO_Utilities.lua:407: attempt to index global 'LK_Powertool'
Argh, thanks, I'll fix that and reupload.

Edit: Should be fixed now!

Re: LK_EmbedScript - Quickly embed, edit and reload embedded layerscripts

Posted: Thu May 25, 2023 3:50 pm
by lucasfranca
Lukas wrote: Thu May 06, 2021 3:10 pm
SimplSam wrote: Thu May 06, 2021 12:59 pm Great idea and nice UI.

I have not used it in anger yet, but I did get an error when I tried the: "Find all embedded scripts" feature: FO_Utilities.lua:407: attempt to index global 'LK_Powertool'
Argh, thanks, I'll fix that and reupload.

Edit: Should be fixed now!
And this list of your scripts? Can you make it available?

Re: LK_EmbedScript - Quickly embed, edit and reload embedded layerscripts

Posted: Thu May 25, 2023 11:28 pm
by synthsin75
Somehow I missed this one. Sounds nice. I've been using a script to reload all layerscripts for years. Pain in the ass to unenbed/reembed manually.