I'm afraid I'm not convinced that we should implement a TouchBar feature. It would also be extremely fragile, since you're messing with the private state of an app that could be updated at any time. My idea was that I'd inject LuaSkin into arbitrary apps, and then build some kind of layer on top of that to inject Lua into that LuaSkin object, but it was all feeling so ugly that I've pretty much abandoned the idea. I have done some work on this (see 79f76bc ) but it's extremely ugly, requires building a 32bit version of everything, and for some weird reason I had to completely butcher parts of LuaSkin's objects, to make it work. One day I would LOVE to see an iOS Hammerspoon App (which you "control" via the Desktop scripts) - but that's a big engineering challenge, and a discussion for it's own thread!Īny questions let me for injecting HS into other apps' TouchBars, we'd have to use code injection. I want to be able to control the Touch Bar simulator. in the case of Final Cut Pro, I'd only show the user Touch Bar options that don't already have a easy-to-click Desktop app equivalent.įor me, bringing this functionality into Hammerspoon is all about control. Why I want this functionality in Hammerspoon rather than a 3rd party App, is that then I could control when the Touch Bar appears, it's position on the screen, and in a perfect world, it would be awesome if you could programatically manipulate the touch bar (i.e. There's a few button's in the Final Cut Pro touch bar, that users would LOVE to have on their older Mac laptops and desktops, even if it's controlled via a mouse. However, why I'm interested in you porting the TouchBarDemoApp to Hammerspoon, is that in Final Cut Pro for example, Apple's added some features to the Touch Bar that don't really exist in the native Desktop app. I'd love to be able to press a button and instantly get up the Console. Just my 2 - I definitely think you should look into creating a proper Hammerspoon Touch Bar. it looks pretty straight forward to create a "Hammerspoon" touch bar, but I'm not sure yet if we can add anything to the touch bars of other applications. I'm much more interested in the idea of creating our own touch bars. I tend to agree that I'm not sure what we can add to this. It think we have all of the pieces needed for this already. with sideloading required to get even that, I'd much rather see a web/websocket interface to Hammerspoon explored that any web browser/web-enabled-app on any device could potentially use over the network and not require the physical connection. I guess that makes sense since you have to use the mouse pointer to select the button you want, but from a visual standpoint, I might like more control over where the bar appears and maybe a way to make it persistent (both of which could more easily be done with the existing app, if they're accepting feature or pull-requests).Īnd while the PeerTalk framework looks interesting for communicating with physically attached iPad/iPhone devices, without having an iPad application to go with Hammerspoon, it's at best an interesting third-party module. When used without an iPad/iPhone as the "display", the bar appears right above the mouse cursor. I took a look at TouchBarDemoApp last night.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |