how can I use applescript to type?
tell application &quot;System Events&quot;
    set textToType to &quot;text here&quot;
    keystroke textToType
end tell

Replace within the quotes of &quot;text here&quot; to what ever you need.