juliosecco Posted December 15, 2022 Share Posted December 15, 2022 (edited) I can't use workflows using osascript/javascript, must the javascript component be installed and how? using Ventura thanks Edited December 15, 2022 by juliosecco Link to comment
vitor Posted December 15, 2022 Share Posted December 15, 2022 (edited) You shouldn’t need to install anything. First try this solution. If that doesn’t solve it, what’s your exact (don’t say latest) version of Alfred and macOS? Plus, please share the link to one of those workflows and the full debugger. Edited December 15, 2022 by vitor Link to comment
juliosecco Posted December 15, 2022 Author Share Posted December 15, 2022 Hi Vitor, I don't have such file were you said, I have only a com.apple.ScriptEditor2.LSSharedFileList.plist. that's an empty plist I have Alfred 5.0.6, the system is Ventura 13.1 The plugin is Pause Tabs (is yours, I suppose), version 2002.2 testing on Safari with Allow JavaScript from Apple Events enabled thank you! Link to comment
vitor Posted December 15, 2022 Share Posted December 15, 2022 (edited) Look for your error online. That message is coming from macOS, not Alfred. Something atypical seems to be going on with your installation, so first you need to figure out what. Maybe another app is interfering. Have you simply tried rebooting? Edited December 15, 2022 by vitor Link to comment
juliosecco Posted December 15, 2022 Author Share Posted December 15, 2022 yes reooted, but I have noticed this problem before switching to Ventura if in terminal I do the following:osalang -l I have asDB lns cgxerv-h AppleScript Debugger ascr appl cgxervdh AppleScript jscr appl cgxe-v-h AppleScript scpt appl cgxervdh Generic Scripting System I imagine I should see also Javascript... Link to comment
vitor Posted December 15, 2022 Share Posted December 15, 2022 Here’s mine (13.0): ascr appl cgxervdh AppleScript jscr appl cgxe-v-h JavaScript scpt appl cgxervdh Generic Scripting System Something is wrong with your jscr line. Link to comment
juliosecco Posted December 15, 2022 Author Share Posted December 15, 2022 where? thanks Link to comment
vitor Posted December 15, 2022 Share Posted December 15, 2022 Compare yours with mine: jscr appl cgxe-v-h AppleScript jscr appl cgxe-v-h JavaScript Link to comment
juliosecco Posted December 16, 2022 Author Share Posted December 16, 2022 Command not found! Link to comment
TomL Posted February 22, 2023 Share Posted February 22, 2023 I had a similar problem—after upgrading from Monterey to Ventura (13.2.1), my workflows using osascript/JavaScript all failed to run. It took a bit of diagnostic and search work, but I found a simple solution. It applies only if you've installed the 3rd-party app Script Debugger. If so, try deleting the "~/Library/Components/Script Debugger.component" folder it installs. This immediately fixed the problem for me (no reboot required). For more, see my answer on Ask Different: applescript - OSA Script failing for JavaScript All the Sudden - Ask Different. vitor and juliosecco 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now