New Tool: Convert Instrument Numbers

I am not too sure if this is possible to get the selection in a pattern. I just check the API docs and could not find anything obvious. I will go and ask in Q+A.

edit: just found this and adding link here as a personal reference.