workflow icon indicating copy to clipboard operation
workflow copied to clipboard

Does not work on macOS mojave (10.14)

Open relekang opened this issue 6 years ago • 2 comments

This permission popup is shown the first time one program tries to control another program: screenshot 2018-09-18 09 33 03

Workflow does not wait for it to be clicked so it tries to interact with a window that does not exist, at least that is what I think the invalid index means.

{ Error: Command failed: /usr/bin/osascript -l JavaScript
360:391: execution error: Error on line 14: Error: Invalid index. (-1719)

    at ChildProcess.exithandler (child_process.js:275:12)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
  killed: false,
  code: 1,
  signal: null,
  cmd: '/usr/bin/osascript -l JavaScript' }

relekang avatar Sep 18 '18 07:09 relekang

Is this similar to the general Accessibility permissions that workflow needs to work on older versions of osx, only more granular?

If so, is there a way of granting this permission on a permanent basis? That would at solve the problem, but be quite annoying, if we need to grant permissions for each app.

havardh avatar Sep 18 '18 07:09 havardh

I find it in settings, but it only have apps that I have tried to open. It does not seem like there is a generic setting.

screenshot 2018-09-18 09 49 06

relekang avatar Sep 18 '18 07:09 relekang