Page 1 of 1

How to set margins with JS, I had tried it some hours, Jesus

Posted: Thu Oct 24, 2019 12:54 pm
by Flandre
http://akelpad.sourceforge.net/forum/vi ... hp?p=14026
Here is SetMargins.js but it only set same both left and right; and MarginsChange.js but it's not set a value but decrease or increase value base on current value.

I had spend some hours to try to understand these two JS with akelpad docs and edit it, but always not work, I'm not a coder so this is too diffcult to me, I failed.

I need a JS to set left, right, top, bottom margin with different value for each, so I can use hotkey plugin to quicky change it.......Anyone could help? :)
------------------------------------------
2019/10/27 edited:
Ok, just ignored this request, I realised even if I had a JS to set margins, it won't be much better than ChangeMargins.Js, these days I'm using ChangeMargins.Js with hotkey plugin and autohotkey, it's ok.
Thank you guys :)