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

Feature request: Run script prior to unmount action #79

Open
creativetim opened this issue Sep 6, 2024 · 2 comments
Open

Feature request: Run script prior to unmount action #79

creativetim opened this issue Sep 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@creativetim
Copy link

tl;dr Execute script prior to Ejectify unmount

Proposed feature

Add the ability to run a script when Ejectify is triggered before the drives are unmounted. This way, I could run a script to force quit any open applications that I'd like to "sniff" for prior to the unmount action executing.

Context

I often have an application open which is using a volume that is part of my "unmount list" and when Ejectify does its thing, that app will normally crash as a result.

More details

  • The apps I most often forget to close are Lightroom and Davinci Resolve
  • My settings

image

@nielsmouthaan
Copy link
Owner

Nice idea. Have you been playing with Shortcuts already? To see if you can do this without Ejectify?

@nielsmouthaan nielsmouthaan added the enhancement New feature or request label Sep 7, 2024
@creativetim
Copy link
Author

No, I haven't. I'm a bad modern macOS user. haha

I'll take a look! I assume this is similar to an Alfred Workflow, which I have used before.

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

No branches or pull requests

2 participants