We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A setting must be enabled to use. Here is how to read and write it:
/usr/bin/defaults write com.apple.Safari AllowJavaScriptFromAppleEvents -bool true /usr/bin/defaults read com.apple.Safari AllowJavaScriptFromAppleEvents
Unfortunately, the following returns an empty string:
LibC resultOfCommand: '/usr/bin/defaults read com.apple.Safari AllowJavaScriptFromAppleEvents
So not sure if we can check this from inside the image. Maybe documentation is the best we can do here?
CwSafari>>#doJavascript: uses Applescript underneath, but CwSafari>>#applescriptTell: is using something handrolled
CwSafari>>#doJavascript:
Applescript
CwSafari>>#applescriptTell:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. Setting to Enable AppleScript
A setting must be enabled to use. Here is how to read and write it:
Unfortunately, the following returns an empty string:
So not sure if we can check this from inside the image. Maybe documentation is the best we can do here?
2. Delegate to Applescript Project
CwSafari>>#doJavascript:
usesApplescript
underneath, butCwSafari>>#applescriptTell:
is using something handrolledThe text was updated successfully, but these errors were encountered: