Make up a catching title

in #enter6 years ago (edited)

Ignore this post, Applescript gone wrong. Should have tested while logged out. The part of the script that actually works:

set var_title to "Make up a catching title" as text
set var_tag to "enter up to five tags" as text

tell application "Safari"
    tell window 1
        set current tab to (make new tab with properties {URL:"https://steemit.com/submit.html"})
    end tell
end tell
delay 10

tell application "Safari" to activate
tell application "System Events"
    keystroke return
    delay 0.5
    keystroke var_title
    keystroke tab
    delay 0.5
    keystroke tab
    delay 0.5
    keystroke var_tag
end tell

applescript.gif