testuser2testuser2 wrote: ↑Sun Mar 15, 2026 11:51 amЯ использую executeScript.js и executeScript.vbs из стаднартного набора скриптов для этого. Они создают врменные файлы для выполняемого кода в стандартной директории. Работает так: если выделяешь код, то выполняется только выделенный код, если ни чего не выделяешь, то выполняется весь код из активной вкладки.ewild wrote: ↑Fri Mar 13, 2026 7:03 pm Then, is there a way (and how) to execute a user script that is designed for and currently being edited in the AkelPad, but located in an arbitrary place outside of AkelPad's dedicated tree?
It would be pretty useful to have such an option for testing, but I couldn't figure out how to do that.
Кнопки для панели инструментов:Вообще вопросы по этому аддону лучше писать сюда.Code: Select all
"Execute JS-code" Call("Scripts::Main", 1, "executeScript.js") Icon("%a\AkelFiles\Plugs\ToolBar.dll", 17) "Execute VBS-code" Call("Scripts::Main", 1, "executeScript.vbs") Icon("%a\AkelFiles\Plugs\ToolBar.dll", 17)
Great script. Cannot explain why I have overlooked it myself. Thank you.
Unfortunately, it turns out that my request itself wasn't well articulated, to say the least.
Hence, "executeScript.js" is unable to do what I actually need, but at least its code drops a hint on where I can go further and within what limitations.