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

Applescripts Targeting Safari Fail if Developer Setting Not Enabled #13

Closed
RalfBarkow opened this issue Feb 19, 2022 · 7 comments
Closed

Comments

@RalfBarkow
Copy link
Contributor

Instance of ApplescriptReference did not understand #ifFalse:

Bildschirmfoto 2022-02-19 um 17 36 12

Click, e.g., Play

@seandenigris
Copy link
Owner

seandenigris commented Feb 19, 2022

I have an idea what the problem is. I’d like to see a few more steps down in the call chain in the debugger.

@RalfBarkow
Copy link
Contributor Author

Bildschirmfoto 2022-02-19 um 17 42 15

@seandenigris
Copy link
Owner

Try enabling this setting in Safari:
Screen Shot 2022-02-19 at 11 42 25 AM

@RalfBarkow
Copy link
Contributor Author

Allow JavaScript from Apple Events fixed this issue

@seandenigris
Copy link
Owner

I'll see if I can put in a check; maybe give a better error message

@seandenigris seandenigris reopened this Feb 19, 2022
@seandenigris seandenigris changed the title ApplescriptReference Applescripts Targeting Safari Fail if Developer Setting Not Enabled Feb 19, 2022
@seandenigris
Copy link
Owner

Recorded the AppleScript issue here: seandenigris/Computer-World#13

@seandenigris
Copy link
Owner

Found a good hook to check for this particular case: seandenigris/Living-Library@02a80c0

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

2 participants