phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

setFullScreen and isFullScreen not working

Open MatthiasGrandl opened this issue 2 years ago • 3 comments

  • Version: 3.0.0
  • macOS: 12.3.1

Error: Could not set accessibility attribute “AXFullScreen” with value “0” for element <AXUIElement 0x600000651530> {pid=1664}. (-25202)

Phoenix has accessibility permissions and most other features seem to work.

MatthiasGrandl avatar May 15 '22 05:05 MatthiasGrandl

@MatthiasGrandl Hello! Sorry to hear that, is this for a specific app or for everything?

kasper avatar May 15 '22 16:05 kasper

It seems to be for everything. But honestly I don’t think there is anything wrong with phoenix as plain applescript also does not work.

MatthiasGrandl avatar May 15 '22 17:05 MatthiasGrandl

@MatthiasGrandl Did you try restarting the computer? 😄

kasper avatar May 16 '22 09:05 kasper

    /*! The AXUIElementRef passed to the function is invalid. */
    kAXErrorInvalidUIElement			= -25202,

I checked the error code. It refers to the UI element (window) being invalid. So likely it doesn’t exist anymore, it’s not a window or potentially something else.

kasper avatar Mar 24 '23 16:03 kasper