what is the best way to mass edit objects in edior?

for example , I need to rotate 100 spot lights 90 degress in X .

Thanks

Unfortunately, there is no built-in way to do this easily. You will have to either write a little editor script, or use a pre-made solution such as the Antares project.