-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active Windows Title and Process Name don't work #242
Comments
Yes, please add logs and if possible export the profile you use and add this too. |
Looks to me as if it's not reflecting title updates to applications when they are in focus. Per example, Chrome changes it's window title when changing tab but this doesn't show in Artemis until you focus a different window and then focus Chrome again. The same goes for VLC, it adds the current filename to the window title but that's not shown until you shift focus to something else first. LUA file that's useful for testing: local update = 0;
-- This event is raised after every profile update, before drawing.
function updateHandler(profile, eventArgs)
if eventArgs.DeviceType != "keyboard" then
return
end
-- Don't spam the logs
update = update + 1;
if (update < 40) then
return
end
update = 0;
print("Process: " .. eventArgs.DataModel.ActiveWindow.ProcessName);
print("Title: " .. eventArgs.DataModel.ActiveWindow.WindowTitle);
end
Events.DeviceUpdating.add(updateHandler); |
It won't do this, that's right. I'll look into this, but
is a bit weird |
Ah in Windows 10 it breaks when you do this:
|
Same problem in windows 7 - I'll look into this too |
so... i'm guessing there's no need for logs now right? |
Well, could you re-test and verify that your issue is really the one we're describing here? |
what do you mean by un and reselect? I'm at my pc rn, will be in ~an hour or less |
Focusing a "new" window should always work. The second one is a bug which needs to be updated first. |
Found the problem, see issue #244 |
I've pushed the update with these fixes included, thanks for the help everyone |
The first time I downloaded the update I set an Ambilight layer to be visible when my windows title contained 'YouTube'.
And it worked, for a while, after many restarts and a night later nothing works, I've set the process name to contain VLC and when I have vlc in focus, nothing happens.
Should I share some logs?
The text was updated successfully, but these errors were encountered: