hexagon logo

Copy

I need to copy part of a program to paste in another.
intended to do this automatically.​
Parents
  • Hello,

    For example, if you only want to insert one or two commands, that's certainly not a problem. I can give you something there.

    but on the other hand it can quickly become very complex. is the content to be copied always the same or does it have to be selected from a source program first?

    if the latter then you should rather do it by hand, developing such a script takes a while. And I don't think you can access all the necessary data in a conventional way anyway...

    you have to use functions like this:
    EditWindow.selectCommands
    EditWindow.CopySelectedToClipboard
    EditWindow.PasteFromClipboard

    But I've never tried it, no idea if this works properly​
  • I'm having trouble knowing what to write after "EditWindow.selectCommands(........)".
Reply Children
No Data