-
Notifications
You must be signed in to change notification settings - Fork 31
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
applescript error #5
Comments
What if you open the package in Terminal and enter |
Here is the output from that:
I'm sorry, my issue was very unclear. The workflow correctly lists my windows but I get the AppleScript error when I hit enter on one of them, and it does not become the focused window. |
Do you have Alfred added to Accessibility settings? |
What is the OS version and Alfred version? |
10.12.3 & 3.3.1 |
That is weird. I have exactly the same OS version and Alfred version, and everything works for me... |
Looks very similar to this one: ttscoff/Slogger#140 |
Might be something security-related. |
Found the error to be at line https://github.com/mandrigin/AlfredSwitchWindows/blob/master/AlfredWorkflow/info.plist#L129 Removing this will make the script work, even though the selected items isn't a safari tab |
Every time I run I get an error like this:
[2017-03-05 14:56:16][ERROR: action.applescript] {
NSAppleScriptErrorBriefMessage = "Can\U2019t set backup of {""} to some object.";
NSAppleScriptErrorMessage = "Can\U2019t set backup of {""} to some object.";
NSAppleScriptErrorNumber = "-10006";
NSAppleScriptErrorRange = "NSRange: {532, 48}";
}
The text was updated successfully, but these errors were encountered: