sbmpost / AutoRaise

AutoRaise (and focus) a window when hovering over it with the mouse
GNU General Public License v3.0
1.48k stars 60 forks source link

The ignore apps field will not ignore apps #139

Closed saylroad closed 1 year ago

saylroad commented 1 year ago

What I am trying to achieve: I would like to enable autoraise only on a couple of apps only.

If I insert the app name in the "ignore apps" field, nothing changes.

Screenshot 2023-05-19 at 10 37 02 PM
sbmpost commented 1 year ago

@saylroad

Can you try without .app?

saylroad commented 1 year ago

Thank you for your feedback.

I got it working by removing .app and removing extra spaces or words. For example "Brave Browser" does not work, while "Brave" alone does.

As last, I also cannot get the keyboard shortcut to work. I am on Ventura. Do you know what could be the problem?

Screenshot 2023-05-20 at 13 42 05
sbmpost commented 1 year ago

@saylroad

As last, I also cannot get the keyboard shortcut to work. I am on Ventura. Do you know what could be the problem?

Sometimes keyboard shortcuts you assign are already in use by the operating system itself. I suggest you check existing shortcuts via keyboard settings in System Preferences. I am still on Monterey myself so I don't know if it could be ventura related. It might as the plugin I am using for the keyboard shortcut isn't exactly recent.

sbmpost commented 1 year ago

@saylroad Can you try with the latest dmg binary, v3.8.2? I changed some versioning settings which may affect the keyboard shortcut plugin. See the top of the README in master for the download link (dmg file)

saylroad commented 1 year ago

Hi, I have tried the latest version but unfortunately the shortcut still does not work.

saylroad commented 1 year ago

Also I cannot get the ignore app field to work with some apps. It is unclear how I should type in the app name. In general it seems to work with apps that have 1 word without spaces, such as "Safari". So for example the full app name with spaces "Adobe Photoshop 2023" won't work, but it does work if you type "Photoshop", while some other apps such as "Little Snitch" won't work at all, even if I type either "Little" or "Snitch". It would be great if there would be an include only field, as I would like to use AutoRaise only with Finder.

sbmpost commented 1 year ago

@saylroad

Hi, I have tried the latest version but unfortunately the shortcut still does not work.

I can't test the shortcut problem ATM as I am not on Ventura. This will have to wait until I have upgraded I am afraid.

It would be great if there would be an include only field, as I would like to use AutoRaise only with Finder.

One idea would be some kind of toggle to reverse the logic of the Ignore Apps field. This could be something for a future release. If in the meantime you want to experiment with this, you can build AutoRaise yourself as per the README instructions. This won't give you the UI version with preferences screen so you will have to configure the settings using a configuration file. To reverse the Ignore Apps logic in the code, simply remove the ! symbol in the AutoRaise.mm file on line 1012. After that it should be a matter of specifying ignoreApps="Finder" in the settings file.

https://github.com/sbmpost/AutoRaise/blob/39d854a46e2e5ab058dc16ac3bda28f400412613/AutoRaise.mm#L1012

saylroad commented 1 year ago

Thank you for all your help. I will give it a try. Your app is amazing and I hope to see new features in the future.