lmc_get_window_title() how does it work.?

Documentation. First post is always kind of manual page, being continuously updated by author. Following posts are discussion about the topic.
Post Reply
I3ordo
Posts: 16
Joined: 01 Oct 2018, 06:58

lmc_get_window_title() how does it work.?

Post by I3ordo » 18 Dec 2019, 16:01

Tried adding it at the top just under "lmc_device_set_name"
but if i run the script via the "play"key
Image
but not work
tried:

Code: Select all

          elseif (button == 122 and direction ==0) then                 
                 lmc_get_window_title() 
but does not show the title of the active window "like lmc_print_devices()" prints the devices...

doing the same thing for this command

Code: Select all

          elseif (button == 122 and direction ==0) then
                 lmc_get_window_title()
                 lmc_minimize() 
minimizes the lua app so the key works but no active window title is printed. so idk whats wrong with it.

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: lmc_get_window_title() how does it work.?

Post by admin » 19 Dec 2019, 08:49

It returns the value, doesn't print it.
Try print(lmc_get_window_title())
Petr Medek
LUAmacros author

I3ordo
Posts: 16
Joined: 01 Oct 2018, 06:58

Re: lmc_get_window_title() how does it work.?

Post by I3ordo » 19 Dec 2019, 11:19

i learned something useful today, thank you!

Post Reply