Bruce Jackson ( @ebj075 ) wrote a SuperTool script (posted to GitHub) that reads from a CSV and attaches 2 Attributes (Ancestry ID and URL) to a series of Person IDs. It is more complex than your task but you can use it as an example.
Here’s the thread: Using Supertool to import Attributes and URLs - An example
I recommend that you paste his Script into a Note of SuperTool Script
type. The Note Editor gives a larger editing window so you need to scroll less than in the SuperTool Editor. SuperTool (v1.4.0 and later) has a File menu with a “Load from Note” option… but you have to have the correct Category active to show the Note in SuperTool’s selector dialog.