Called when a file or folder is opened with Hammerspoon 2,
e.g. by dropping it on the Dock icon, choosing Hammerspoon 2 from Finder's "Open With" menu,
or open -a "Hammerspoon 2" file.txt, or null to remove it. It's called once for each item,
with its path. Spoons (.spoon2 files) are installed as usual rather than passed to it.
Items opened before your config has loaded (for example, the one that launched
Hammerspoon 2) are passed to it once your config has loaded.
Called when a file or folder is opened with Hammerspoon 2, e.g. by dropping it on the Dock icon, choosing Hammerspoon 2 from Finder's "Open With" menu, or
open -a "Hammerspoon 2" file.txt, or null to remove it. It's called once for each item, with its path. Spoons (.spoon2files) are installed as usual rather than passed to it. Items opened before your config has loaded (for example, the one that launched Hammerspoon 2) are passed to it once your config has loaded.