[Hammerspoon]...
Extension
https://raycast.com/bjrmatos/hammerspoon
Raycast Version
1.103.2
macOS Version
No response
Description
Error:
Error: Command failed with exit code 1: osascript
514:520: execution error: Hammerspoon's AppleScript support is currently disabled. Please enable it in Hammerspoon by using the hs.allowAppleScript(true) command. (-50)
at Q9 (/Users/drg/.config/raycast/extensions/32530086-5c58-4f76-a550-cb60c735bf14/restart.js:31:5638)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Z6 (/Users/drg/.config/raycast/extensions/32530086-5c58-4f76-a550-cb60c735bf14/restart.js:31:7691)
Steps To Reproduce
EACH TIME I TRY
Current Behaviour
No response
Expected Behaviour
No response
Thank you for opening this issue!
🔔 @bjrmatos @that70schris you might want to have a look.
💡 Author and Contributors commands
The author and contributors of bjrmatos/hammerspoon can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot close as duplicateCloses the issue as duplicate.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
hi @rolldav
it looks like you have not followed the instructions of the extension:
- With Hammerspoon installed, open your configuration file. By default Hammerspoon configuration file is located at ~/.hammerspoon/init.lua. If you don't have this file, you can create it by running touch ~/.hammerspoon/init.lua in your terminal.
- Add this line at the top of your configuration file:
hs.allowAppleScript(true), save the file and reload Hammerspoon.
as explained above, your hammerspoon configuration file should contain this line: hs.allowAppleScript(true), and you should ensure you have restart/reload hammerspoon.
My bad ,You re totally right . Sorry . And thank you for your help .
@raycastbot close this issue