RobotStudio event

C# application - pointer location.

How can I found a line number - the location of pointer inside of my C# application?

Not sure which class I should use for it.

Any advice?



  • I figured it out.
  • vikram6892
    edited January 2019
    Here is the solution. May be useful for others.

  • Thanks vikram6892. I did almost the same.

                   t = aController.Rapid.GetTask("T_ROB1");
                   var p = t.ProgramPointer;
                   var outputRow = p.Range.Begin.Row.ToString();