Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skript for mirroring left and right side of portrait photo
#4
Do not, ever, use clipboard functions internally in scripts!

When you do that:
  • You pollute the system clipboard with stuff the user has no use for
  • You run the risk that the clipboard if overwritten by some other action between your copy and your paste.
You can always copy the object directly, and, if necessary, cut off the excess.

Use of the copy/paste clipboard functions is OK only as an explicit interface to the outside world (as in File>Create>From clipboard, or copying something to the clipboard because it will be used on some other program).
Reply


Messages In This Thread
RE: Skript for mirroring left and right side of portrait photo - by Ofnuts - 08-07-2017, 09:33 PM

Forum Jump: