Jump to content

iconoclast

Member
  • Posts

    2
  • Joined

  • Last visited

iconoclast's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. The problem may be that Alfred creates its own copy of the AppleScript (does it???) and uses that instead. So even though the AppleScript app had the permissions it needed, Alfred was using an older copy that didn't. I deleted the AppleScript and created a new one with a different name and made sure it had all the permissions before telling Alfred about it. This time things worked. So the bug is possibly related to (1) using a copy, and (2) not getting a fresh copy when important things like that change.
  2. I have an AppleScript app (~/Library/Scripts/ChooseLanguage.app) that I want to trigger with Alfred. The app opens a dialog for me to select a language, and then enables my Typinator rule sets for the language I chose, and disables rule sets for other languages. Next it changes my keyboard layout ("input source") to the chosen language. This second step requires that I give it permission in System Preferences → Security & Privacy → Privacy → Accessibility to enable it to run. If I trigger the app manually, it has no problem using the permission I've granted it. But if I trigger it from Alfred, I get a message that it does not have adequate permissions: It very clearly is allowed assistive access, as is Alfred itself. This therefore appears to be a bug with how Alfred triggers it. The problem occurs whether I use a hotkey or keywords to trigger the AppleScript.
×
×
  • Create New...