Page 1 of 1

Best way to make a copy of a rendering

Posted: Fri Apr 01, 2016 1:30 pm
by Wayne C.
What's the best way to copy a single Genie rendering / screen. I have a couple of reasons for this:

1. Just as a backup in the case that I try something and really screw the rendering up.
2. I have 2 similar screens. One I did a lot of revamping and essentially want to COPY that rendering to a different name.

I know in the Administrator you can copy a screen to a different skin, but you can't change the name.

I've tried using WRKLNK (the CPY option) and to me, some of the parameters are confusing. I'm not sure what goes in "To Directory...' and/or To Object...'. The copy of the rendering ends up in the root directory.

/www/puidev/htdocs/profoundui/userdata/genie skins/eTMS Skin/Screens/ACCD107S7AH51.scn

I just want to make a copy of ACCD107S7AH51.scn and call it ACCD107S7AH52.scn .

Re: Best way to make a copy of a rendering

Posted: Fri Apr 01, 2016 4:21 pm
by matt.denninghoff
qsh or another environment might be a little easier to use with these types of files.

If you leave the To directory field as '.', then your copied files are going into the "Current Directory", which is apparently your root directory. You can tell what the current directory is by calling WRKLNK with no parameters--what directory is displayed.

You'll want to change the current directory to the Skins folder before copying.
4-1-2016 4-15-51 PM.png
4-1-2016 4-15-51 PM.png (7.62 KiB) Viewed 760 times
4-1-2016 4-18-00 PM.png
4-1-2016 4-18-00 PM.png (5.21 KiB) Viewed 760 times
I'd name the file with a .bak on the end instead of changing 51 to 52. Otherwise, if someone encounters and customizes a screen that gets named ACCD107S7AH52.scn, then you'll have a problem.

Re: Best way to make a copy of a rendering

Posted: Fri Apr 01, 2016 6:26 pm
by Wayne C.
Thanks Matt. That worked great.