Hi JJ Fulks,
ScriptUI does not allow to directly change the position of an EditText's cursor but there is a trick to emulate this by successively setting text and textselection.
As far as I remember—I cannot test this now, sorry—if you want to get aaaa•bbbb (where • represents the cursor location), you need to do:
myEditText.text = "bbbb";
myEditText.textselection = "aaaa";
(or something similar).
Thanks Mark, it sounds like a good solution ... I will test it and see what I find!
I know this is an old post, but I would like to change the cursor position in an edittext dialog to the first character. I can't seem to get Marc's solution to work, though the behavior may have changed in CC?