oorbx Posted February 19, 2023 Posted February 19, 2023 (edited) Hey Alfred team, Ā Workflow automation task - "is app running" not working anymore in Ventura 13.3 beta. Ā I tried many apps as notes or safari, not working. Ā (I tried to use identifier ID, or full path - ventura has changed safari path) but not succeed. Ā Probably bug. š Ā Ā Edited February 19, 2023 by oorbx
vitor Posted February 19, 2023 Posted February 19, 2023 If itās a bug, itās a bug in the macOS beta and will need to be reported to Apple. Ā What do you get in the debugger?
oorbx Posted February 19, 2023 Author Posted February 19, 2023 (edited) Yeah, probably they change something. But i worry, that nobody from apple can fix it, because i dont know how to formulate. Ā I tried debugger with this result : Ā 20:27:14.565] Launch file group from hotkey[Hotkey] Processing complete [20:27:14.577] Launch file group from hotkey[Hotkey] Passing output '' to Automation Task [20:27:14.578] Launch file group from hotkey[Automation Task] Running task 'Is App Running?' with arguments ( "" ) [20:27:14.650] ERROR: Launch file group from hotkey[Automation Task] Task Error: Inspection is enabled by default for process or parent application with deprecated 'com.apple.webinspector.allow' entitlement. Use `inspectable` API to enable inspection instead. Ā When i try to add any app, or any path or anything, still the same error Edited February 19, 2023 by oorbx
vitor Posted February 20, 2023 Posted February 20, 2023 Open the Script Editor App.Change the language to JavaScript (top left).Paste the following code: Application("System Events").applicationProcesses.where({ frontmost: true })[0].name()Run the script ("play" button on the top right).Expected outcome is to seeĀ āScript Editorā in the result. But the outcome youĀ get is the error you mentioned. Ā If you confirm that, itās the information you can give in the Apple Feedback app. A description would be something likeĀ āGetting frontmost app with JavaScript for Automation fails in Ventura 13.3 betaā.
oorbx Posted February 20, 2023 Author Posted February 20, 2023 (edited) Hey, thanks for reply. I tried it now. Ā Outcome in script editor app is really "Script editor", but outcome in debugger in Alfred finished still with error message. __ Ā I tried reinstall alfred as well, remove/add on settings - accesibility as well, but no any change. Ā I think one of best automation task, which is include in alfred and my mistake with mac os beta šĀ Edited February 20, 2023 by oorbx
vitor Posted February 20, 2023 Posted February 20, 2023 The error message youāre getting is weird. Will have to wait until 13.3 to test. Ā 1 hour ago, oorbx said: my mistake with mac os beta Ā Itās a good tip to never install macOS and iOS betas unless you really need to for testing purposes. And even then, never install them on your main machine. They are betas after all, and that does mean instability.
oorbx Posted February 21, 2023 Author Posted February 21, 2023 Yeah, i understand. I like betas, because its not primary my working machine, just trial... But alfred automation start to be "my daily must have" with keystroke š Ā Anyhow thanks for help. i will wait. Ā What i know for sure that before update everything working 100% fine, and its related to 13.3 beta. Ā Some other automation task, seems to be working as well... only "is app running" cannot be viewed by alfred somehow.
kraig85 Posted February 26, 2023 Posted February 26, 2023 Hi. Just to add... Ā I have had this error message come up withĀ everyĀ automation task in Alfred since I upgraded to the latest Ventura beta the other day. I've trawled Google for, what feels like days, and the only thing I can find is about the web inspector/Safari, and even though the error message mentions the web inspector, the issues that I and oorbx are having are not Safari/web-related (but feel free to correct me if I'm wrong). So it will be interesting to see how and when this is resolved by Apple, or if someone finds a workaround sooner. If I find out how to fix it, I'll let you know. Ā Craig
oorbx Posted February 26, 2023 Author Posted February 26, 2023 (edited) 10 hours ago, kraig85 said: Hi. Just to add... Ā I have had this error message come up withĀ everyĀ automation task in Alfred since I upgraded to the latest Ventura beta the other day. I've trawled Google for, what feels like days, and the only thing I can find is about the web inspector/Safari, and even though the error message mentions the web inspector, the issues that I and oorbx are having are not Safari/web-related (but feel free to correct me if I'm wrong). So it will be interesting to see how and when this is resolved by Apple, or if someone finds a workaround sooner. If I find out how to fix it, I'll let you know. Ā Craig Ā Yeah, it doesnt matter, what i will mention to "is app running" task... app name, app full path, id, or only character "a", it finished with same : Ā [22:50:23.489] ERROR: Launch file group from hotkey[Automation Task] Task Error: Inspection is enabled by default for process or parent application with deprecated 'com.apple.webinspector.allow' entitlement. Use `inspectable` API to enable inspection instead. Ā But as Vitor said, beta are instable and we have to expect unexpected š Edited February 26, 2023 by oorbx
vitor Posted March 8, 2023 Posted March 8, 2023 @oorbxĀ What do you get if you run in aĀ terminal: Ā osascript -l JavaScript -e 'Application("System Events").applicationProcesses.where({ frontmost: true })[0].name()'
vitor Posted March 10, 2023 Posted March 10, 2023 On 3/8/2023 at 9:46 PM, vitor said: @oorbxĀ What do you get if you run in aĀ terminal: Ā osascript -l JavaScript -e 'Application("System Events").applicationProcesses.where({ frontmost: true })[0].name()' Ā Ā @pwigginsĀ @kraig85Ā If either (or both) of you can give that a try and report back, itāll help to get this sorted.
kraig85 Posted March 11, 2023 Posted March 11, 2023 11 hours ago, vitor said: Ā @pwigginsĀ @kraig85Ā If either (or both) of you can give that a try and report back, itāll help to get this sorted. Ā I got a box popping up, asking me to grant permissions and Terminal said "Terminal", but nothing has changed with regards to the API inspection message.Ā
vitor Posted March 11, 2023 Posted March 11, 2023 13 hours ago, kraig85 said: but nothing has changed with regards to the API inspection message. Ā That is good news. Because it means we have a clear understanding of where the problem lies. This has to be reported to Apple. @oorbxĀ @pwigginsĀ Pinging you as well, because the more people file the same report, the more Apple prioritises it. Ā To make a report, open the Feedback Assistant app which comes with your Mac and do FileĀ ā New FeedbackĀ ā macOS. Then fill it with the following information:Title:Ā osascript (JavaScript) fails with deprecated entitlement in Ventura 13.3 betaArea of the issue: JavaScriptCoreType of issue: Incorrect/Unexpected BehaviourDescription: osascript commands using JavaScript as the language fail in Ventura 13.3 beta. To reproduce, run such a command in the Terminal. The following returns the name of the frontmost app: osascript -l JavaScript -e 'Application("System Events").applicationProcesses.where({ frontmost: true })[0].name()' In Ventura 13.3 beta, the above fails with: Inspection is enabled by default for process or parent application with deprecated 'com.apple.webinspector.allow' entitlement. Use `inspectable` API to enable inspection instead. Ā Then click Submit.
HYUGA Posted March 16, 2023 Posted March 16, 2023 On 2/27/2023 at 5:52 AM, oorbx said: Ā Yeah, it doesnt matter, what i will mention to "is app running" task... app name, app full path, id, or only character "a", it finished with same : Ā [22:50:23.489] ERROR: Launch file group from hotkey[Automation Task] Task Error: Inspection is enabled by default for process or parent application with deprecated 'com.apple.webinspector.allow' entitlement. Use `inspectable` API to enable inspection instead. Ā But as Vitor said, beta are instable and we have to expect unexpected š Hello, I just upgraded macOS Ventura 13.3 Beta 4 Release Notes, which has fixed this problem. Now I can use Automation Task normally and play happily again. However, after upgrading to the official version next time, I will consider launching a beta experience.
oorbx Posted March 17, 2023 Author Posted March 17, 2023 On 3/16/2023 at 3:06 AM, HYUGA said: Hello, I just upgraded macOS Ventura 13.3 Beta 4 Release Notes, which has fixed this problem. Now I can use Automation Task normally and play happily again. However, after upgrading to the official version next time, I will consider launching a beta experience. Ā Oh thanks for info Ā i unregistered from beta, but i have to register again now šĀ stucked on 13.3 beta 3 up to now
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