Is there a way to Modify robTarget Position Through The App created from Screen Maker App

in ScreenMaker
Hi Dear all,
For above question, i would like to avoid operator go to Program Editor to modify position from Pendant. So i have created a App to allow them to modify position from inside.
But i dunno what command to use in button to copy current position to the variable i have defined. Can anyone help me on this. It is quite urgent. Thanks all.
For above question, i would like to avoid operator go to Program Editor to modify position from Pendant. So i have created a App to allow them to modify position from inside.
But i dunno what command to use in button to copy current position to the variable i have defined. Can anyone help me on this. It is quite urgent. Thanks all.
Comments
My idea is Operator select the step 6 and press GO Button. Robot will move to the position. Then operator will have to manually go to JOGGING page in pendant and jog further down a bit, and back to this application and press TEACH Button. So, i think i will write some code to teach this position into Step 6. But i really dunno if there is any code to access as i am new to robotstudio, and havn't go any course.
This is simple example to test my idea.