![]() Fortunately we can automate this too, thanks to WaxSim. So we have the screenshot actions set up, but we still have to manually change the project target and run the app in the simulator. ![]() I was initially disappointed to find that Hammerspoon’s accessibility API is limited to just windows, but I found an experimental module that gives full access to the system’s accessibility API.Īfter installing the axuielement module in ~/.hammerspoon I was put together a hot key that could click on Revert Changes, no mouse needed: Hammerspoon has extensive support for window manipulation through the system’s accessibility API, so I thought it might be capable of simulating a click on the Revert Changes button. I recently started using Hammerspoon to perform some basic automation tasks with keyboard shortcuts. This change was almost five years ago, so I’m not holding out much hope for a new shortcut to arrive.Īfter far too many times of closing a document with changes and having to reach for the mouse to click Revert Changes, I finally started looking for a solution. The name change alone isn’t a problem, but with this change the command-D shortcut to select Don’t Save no longer exists. The modern macOS save prompt with Revert Changes The traditional macOS save prompt with Don’t Save While this disables Auto-Save, the old Don’t Save button now says Revert Changes. If you dislike Auto-Save, it’s still possible to disable Auto-Save and get prompted when closing a document. A few years ago Apple added Auto-Save and Versions (in Lion), which resulted in doing away with the traditional Save, Don’t Save, Cancel prompt that would appear when closing a document with unsaved changes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |