By running the ios send text it would be GUI n instead off GUI l. So it would search a contact or number. So it would be the code like:
GUI h
DELAY 150
GUI SPACE
DELAY 150
BACKSPACE
DELAY 500
STRING Messages
DELAY 250
ENTER
DELAY 1500
GUI n
DELAY 250
STRING person or number
DELAY 500
ENTER
DELAY 250
TAB
ENTER
DOWN ARROW
DELAY 500
STRING text
DELAY 500
ENTER
By running the ios send text it would be
GUI n
instead offGUI l
. So it would search a contact or number. So it would be the code like: