Skip to content
New issue

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

Skip Applescript on MacOS #2

Open
MikeDacre opened this issue Mar 6, 2018 · 1 comment
Open

Skip Applescript on MacOS #2

MikeDacre opened this issue Mar 6, 2018 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MikeDacre
Copy link
Owner

The code works fine on Mac, but it is slow because applescript is slow, I think there should be a way to bypass applescript by editing the .DS_Store files, but I haven't bothered yet as there isn't good documentation on how this even works.

@MikeDacre MikeDacre added enhancement New feature or request help wanted Extra attention is needed labels Mar 6, 2018
@hhas
Copy link

hhas commented Mar 6, 2018

macOS ships with Python2.7 and PyObjC as standard. Use -[NSFileManager trashItemAtURL:resultingItemURL:error:].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants