Lmc_get_window_title() > what about getting the handle?
Posted: 11 Feb 2020, 13:21
Hi!
I've been using LuaMacros for about 2 weeks now and my script has grown in size. Meaning : using that 2nd keyboard in practically all my applications for some macros magic and being thankful for the sheer brilliance that is LuaMacros
But... I wanted to tackle that new Edge yesterday and noticed that lmc_get_window_title() only gives the title of the webpage. With no way of filtering the main app (eg : "Edge"). So I started fiddling around : there's a tool that changes the title of a running app but when the tab is changed, the title changes back to that webpage.
I also have seen that there's no such thing as a lmc_get_window_handle() but still : is there a way to "detect" this application using its handle instead of its title? Perhaps not natively in lua but with a "creative" work-around?
thanks!
/dimi
I've been using LuaMacros for about 2 weeks now and my script has grown in size. Meaning : using that 2nd keyboard in practically all my applications for some macros magic and being thankful for the sheer brilliance that is LuaMacros
But... I wanted to tackle that new Edge yesterday and noticed that lmc_get_window_title() only gives the title of the webpage. With no way of filtering the main app (eg : "Edge"). So I started fiddling around : there's a tool that changes the title of a running app but when the tab is changed, the title changes back to that webpage.
I also have seen that there's no such thing as a lmc_get_window_handle() but still : is there a way to "detect" this application using its handle instead of its title? Perhaps not natively in lua but with a "creative" work-around?
thanks!
/dimi