Page 1 of 1

lmc_get_window_title() how does it work.?

Posted: 18 Dec 2019, 16:01
by I3ordo
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.

Re: lmc_get_window_title() how does it work.?

Posted: 19 Dec 2019, 08:49
by admin
It returns the value, doesn't print it.
Try print(lmc_get_window_title())

Re: lmc_get_window_title() how does it work.?

Posted: 19 Dec 2019, 11:19
by I3ordo
i learned something useful today, thank you!