Skip to content

create a key sequence task in applescript #119

Open
@lavinnyv

Description

in the MoreAutomationSamples.scpt, i got a handle on creating connections, but what if i wanted to create a key sequence task?

this was for a connection:
set newConId to add connection protocol "HTTP" name "Google.com" uri "http://www.google.com"
select object newConId

i'm trying to do something like this for the key sequence:
set newConId to add connection protocol "Key Seqeunce Task" name "cliclick k1"
set property value of key "KeySequenceTask" of id newConId to "cliclick t:1"

but i'm getting the error on add connection protocol.

can anyone help me through this?

thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions