Control in a background application with Applescript

Asked

Viewed 29 times

1

Hello, in this example below works, it opens the Skype app and type "email" and wait 20s for the next order, however I would like it to do so without opening the app, without the part of "Active" run in the background:

tell application "System Events"
    delay 3
    repeat
        tell application "Skype"
            activate
        end tell
        delay 0.3
        keystroke "email"
        delay 20
    end repeat
end tell

it is possible?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.