Jump to content

Automation task - "is App running" not working ventura 13.3 beta


Recommended Posts

Posted (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 by oorbx
  • oorbx changed the title to Automation task - "is App running" not working ventura 13.3 beta
Posted (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 by oorbx
Posted

  1. Open the Script Editor App.
  2. Change the language to JavaScript (top left).
  3. Paste the following code: Application("System Events").applicationProcesses.where({ frontmost: true })[0].name()
  4. 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ā€.

Posted (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 by oorbx
Posted

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.

Posted

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.

Posted

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

Posted (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 by oorbx
  • 2 weeks later...
Posted
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.

Posted
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.Ā 

Posted
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 beta
  • Area of the issue: JavaScriptCore
  • Type of issue: Incorrect/Unexpected Behaviour
  • Description:

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.

Posted
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.

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...