You don’t need to give Hook the hook:// URL (though that works), you can pass it the file URL. For example, look at the in-built Finder integration script — here’s a modified version I used:
You don’t need to give Hook the hook:// URL (though that works), you can pass it the file URL. For example, look at the in-built Finder integration script — here’s a modified version I used: