Hello!
(ver 1.3.14.4-x64)
I want to replace color in many aceprite files automatically, so I use script below.
app.command.ReplaceColor {
ui=true,
channels=FilterChannels.INDEX,
from=Color{index=14},
to=Color{index=26},
tolerance=0
}
Then, UI of replace color appear (because ui parameter is true).
However, “Ignore color and alpha component” ( at the red box in figure below ) disturb replacing color.
This situation cannot be changed with UI parameter false in the script.
With usual manual call of replacing color UI, “modify color and alpha component” is designated at the same red box, so this problem does not occur.
Now, script of replacing color cannot change color without UI manipulation of mouse click change from “ignore” to “modify”.
If solution of the problem exists, please tell me.
for the time being, I will use combination of scripts and mouse click. Automatic color designation with script is grateful.
