Ive’ seen this in a Xojo program
IDECommunicator.SendScript(Join( Slice(args, i+1) ))
However, i cant seem to find any reference to the slice method anyway in the documentation.
Im guessing Join( Slice(args, i+1) ) removes the calling exe from the parameters passed.
I can see you pass 3 parameters array, integer(from),integer(to) but are the integer character positions?