Here is my Align script I was unable to do with UE-macro language.
Imagine you have (huge) code like this:
- Code: Select all
lala = abc
lalalalala = def
la = ghi
baba = jkl asdf sdsdfas
and want it to be like this (left align):
- Code: Select all
lala = abc
lalalalala = def
la = ghi
baba = jkl asdf sdsdfas
or that (right align):
- Code: Select all
lala = abc
lalalalala = def
la = ghi
baba = jkl asdf sdsdfas
So from now on you can call my macro. Remember: Moving the mouse while the macro runs accelerates the macro.
This is known UE/JS-behaviour. Don't ask me ....
Here is the script alignEqual.js, that has also posted-code from other Forum members. Thx for that again.:
EDIT: SEE BELOW FOR IMPROVED CODE
Hope it is helpful.
rds Bego





