We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When viewing a file that has spaces in it, ui.active_window().doc returns a path with URL-encoded spaces even though it's not a file:// URL:
ui.active_window().doc
file://
>>> ui.active_window().doc '/Users/pcohen/Desktop/Test%20File.txt' >>> ui.active_window().element.AXDocument 'file:///Users/pcohen/Desktop/Test%20File.txt'
@nriley suggested this may be a bug.
The text was updated successfully, but these errors were encountered:
should be fixed in next beta
Sorry, something went wrong.
I noticed that window.doc decodes but the accessibility property doesn't. Is that intentional?
window.doc
>>> ui.apps(bundle='com.apple.ScreenSharing')[0].windows()[0].doc '/Users/phillco/Library/Containers/com.apple.ScreenSharing/Data/Library/Application Support/Screen Sharing/Mac Studio (phillco).vncloc' >>> ui.apps(bundle='com.apple.ScreenSharing')[0].active_window.element.AXDocument 'file:///Users/phillco/Library/Containers/com.apple.ScreenSharing/Data/Library/Application%20Support/Screen%20Sharing/Mac%20Studio%20(phillco).vncloc'
it's a CFURL/NSURL behind the scenes, this seems like correct handling of the raw attribute to me
No branches or pull requests
When viewing a file that has spaces in it,
ui.active_window().doc
returns a path with URL-encoded spaces even though it's not afile://
URL:@nriley suggested this may be a bug.
The text was updated successfully, but these errors were encountered: