AnsweredAssumed Answered

How to go to a field and enter a keystroke by script?

Question asked by fmpro_novice on Jul 22, 2017
Latest reply on Jul 23, 2017 by philmodjunk

I can't figure how to go to a field and as soon as the cursor is blinking - make Filemaker type a keystroke.

 

My script works perfect as long as the user manually types in a number - but I need Filemaker to automatically type a number as if a person was actually typing. It can't be Set field - because when the user enters the field, the field is already set. The field gets set with text - then - based on the text that's in the field - the user then makes a numbered choice from a list that pops up. But I need to have Filemaker automatically enter a number instead of the user doing it.

 

It can't be a script trigger. It has to be something that acts like someone has typed a number on the keyboard. Is this even possible?

Outcomes