Scripting question

Is it possible to script a transposition of selected notes step by step? What I actually want is to transpose by frequency and quantise it by eight tones.
So I need to get the actual pitch, apply the formula to it, transpose it and apply everything to the next selected note. I assume it might be not possible but I think it’s worth asking as I would’n have to export and import it to do the process external.

It is not possible to “get the actual pitch” via Lua scripting, unfortunately.

However, depending on the scope of what you want to do, it might be worthwhile to look into doing it semi-automatically, by providing the pitch information manually either via the console (as a function call), or through some cleverly chosen keycommands via ConsoleTools.