Skip to content

Stop Execution of Apple Script #21

@vikas-chhabra

Description

@vikas-chhabra

I have one use case in which the apple script can take custom time to execute. Let's say the apple script takes 1000 seconds to execute.
If the apple script is currently in execution then how I can interrupt the execution of the apple script or stop it?

I am currently starting the execution of an apple script like this.

applescript.execString(script, (err, rtn) => { if (err) { // execution runs well no error console.log("Something went wrong ", err); // Something went wrong! } console.log(rtn); // not returning anything });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions