Like the docs say, the Photoshop ruler origin corresponds to 0,0 in Spine, allowing us to control the position of skeletons in Spine.
This is a great addition to Spine, but it has some potential issues.
If an artist works not only in Photoshop, but also in other software (let's say Clip Studio), then Photoshop's ruler origin gets lost every time the image is edited and saved in Clip Studio.
Since Clip Studio doesn't support scripts, export is done in Photoshop anyway. But since ruler origin is often lost it requires setting it anew pretty often.
Which is a good opportunity to make a mistake: it's easy to forget than ruler origin needs to be set again, and it's also easy to set it incorrectly because it's done via mouse dragging rather than via text fields.
For this reason we decided to add two text fields to the PhotoshopToSpine script, for X and Y coordinates of ruler origin.
Now it's way harder to forget that ruler origin should be set before exporting, because you always see those fields before starting. Also copy-pasting ruler origin coordinates into text fields is faster and more convenient than dragging it with mouse, and reduces chances of mistakes too.
We also added a button that gets current ruler origin from Photoshop and sets X and Y coordinates in the script accordingly, to make it easier to write down ruler coordinates to be used later.
Now the script sets Photoshop ruler origin coordinates according to the X and Y coordinates in new text fields, and then proceeds as usual. It makes working with the script much more enjoyable experience.
Perhaps Esoteric Software may consider adding some kind of QoL features into the script to make it easier to work with ruler origin for everyone.