10-24-2018, 04:47 PM
My first attempt at trying to modify an actual Python script.
I have taken the Uncrop script of Lloyd Konneker and modified it (using the Bluefish Editor) so that it "uncrops" on the left-hand side.
I was able to register this as uncrop-side1.py.
My next step was to add another slider so that I could specify the sample-width for the resynthesizer. However, all my attempts to register this as uncrop-side2.py have come to nothing!
I am obviously making a stupid mistake, but several days of searching has not helped. If someone could point out my obvious error it would be much appreciated.
I have substituted the appropriate parameters into uncrop-side1.py (without re-registering) to "uncrop" right, top and bottom, and that all worked. The intention was to add an additional PF_OPTION or PF_RADIO to select the side to uncrop and then re-register it under a suitable name. The end result will probably be of little value, but a useful education for me!
Attached are the two files - uncrop-side1 - (working) and uncrop-side2 - (not registering).
david.
I have taken the Uncrop script of Lloyd Konneker and modified it (using the Bluefish Editor) so that it "uncrops" on the left-hand side.
I was able to register this as uncrop-side1.py.
My next step was to add another slider so that I could specify the sample-width for the resynthesizer. However, all my attempts to register this as uncrop-side2.py have come to nothing!
I am obviously making a stupid mistake, but several days of searching has not helped. If someone could point out my obvious error it would be much appreciated.
I have substituted the appropriate parameters into uncrop-side1.py (without re-registering) to "uncrop" right, top and bottom, and that all worked. The intention was to add an additional PF_OPTION or PF_RADIO to select the side to uncrop and then re-register it under a suitable name. The end result will probably be of little value, but a useful education for me!
Attached are the two files - uncrop-side1 - (working) and uncrop-side2 - (not registering).
david.