Giter VIP home page Giter VIP logo

Comments (5)

occludedpixel avatar occludedpixel commented on June 6, 2024 2

@notDavid I have submitted a pull request #33. You can clone that repo and build the menu executable following the instructions here then replace the existing one in the workflow directory with it.

edit: I have just posted a release here which includes the updated executable

from menu-bar-search.

occludedpixel avatar occludedpixel commented on June 6, 2024 1

I think this issue is related to the one being addressed by #33 .

The workflow retrieves an invisible Format menu bar item for Forklift:

Apple
ForkLift
[<AXUIElement 0x600003561680> {pid=36446}]
File
[<AXUIElement 0x600003561680> {pid=36446}]
Edit
[<AXUIElement 0x600003561680> {pid=36446}]
Format
[]
View
[<AXUIElement 0x6000035643c0> {pid=36446}]
Go
[<AXUIElement 0x600003578030> {pid=36446}]
Favorites
[<AXUIElement 0x600003561d70> {pid=36446}]
Commands
[<AXUIElement 0x6000035643f0> {pid=36446}]
Window
[<AXUIElement 0x600003578000> {pid=36446}]
Help
[<AXUIElement 0x600003561d70> {pid=36446}]

Format has no kAXChildrenAttribute unlike the other visible menu bar items but the current code does not check that the arrays are non-empty before trying to access the first element.

from menu-bar-search.

notDavid avatar notDavid commented on June 6, 2024

@occludedpixel is there a workaround / beta version that fixes this at the moment?

from menu-bar-search.

notDavid avatar notDavid commented on June 6, 2024

Great, thank you so much for sharing @occludedpixel !

from menu-bar-search.

yinan-c avatar yinan-c commented on June 6, 2024

Thank you so much @occludedpixel

from menu-bar-search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.