Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appIsRunning applescript function no longer working in Catalina #47

Closed
waynehoover opened this issue Mar 7, 2020 · 8 comments
Closed

Comments

@waynehoover
Copy link

waynehoover commented Mar 7, 2020

I'm on OS 10.15.3 and I was getting 'Error: osascript error: code exit code: 1 errors when trying to post urls.

I tracked down the issue to the appIsRunning function call in get-current-url.applescript. I removed that conditional for my browser and it works again.

I suspect this is an issue with oascript permissions that has been effecting a lot of Catalina users lately. We need to find the correct permissions to grant or just remove that conditional.

@spamwax
Copy link
Owner

spamwax commented Mar 10, 2020

Thanks for the feedback. I'll look into this and push a new update. Need to remember why that condition check was there :)

@spamwax
Copy link
Owner

spamwax commented Mar 11, 2020

can you elaborate if you moved that function entirely or just from those browsers.
I am not running Catalina so testing it would be impossible for me

spamwax added a commit that referenced this issue Mar 12, 2020
- Address issue #47
- Add Microsoft Edge support
- Don't use 'sed' hack to set user name
@waynehoover
Copy link
Author

Enabling Full Disk Access for "System Events" in System Preferences -> Privacy -> Full Disk Access then restart seems to fix the issue.

@spamwax
Copy link
Owner

spamwax commented Mar 14, 2020

can you disable that option and try the latest release I pushed recently and see if you get any errors?

@waynehoover
Copy link
Author

Yep, the new version also works with System Events disabled in Full Disk Access. So either way good to go. Thanks!

@spamwax spamwax closed this as completed Mar 15, 2020
@eproxus
Copy link

eproxus commented Jun 2, 2020

I seem to have this problem with workflow version 0.15.12 on macOS 10.15.5. I don't see System Events in the Full Disk Access permissions list either.

@spamwax
Copy link
Owner

spamwax commented Jun 4, 2020

are you get the same exact error message?
I do not have access to Catalina so I can't help with permission list issue.

@eproxus
Copy link

eproxus commented Jun 4, 2020

Strangely enough, trying it today after the 10.15.5 Supplemental Update I no longer have the issue. Will keep an eye out for it, but please ignore for now. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants