you should be able to just go into Photopaint, open up an image, open up the Recorder docker, hit the record button, do your effect, then stop recording. Save your script, open the script up in Notepad and you'll probably want to delete the first action line... it'll say something like: .SetDocumentInfo 760, 96
and resave it.
Unless all of your images are exactly the same size, you'll want to delete this otherwise it will resize all those images to whatever size the image was that the script was created with.
Then, if you've got a lot of images to work with, you can then go to File/Batch Process, choose a bunch of files and then choose a script (or scripts) to run on them.