Detect full screen plugin
Posted: January 23rd, 2014, 3:42 pm
This plugin will detect applications in full screen state (not maximized).
There are three functions available:
Function 1 - check if foreground window (window on which the user is currently working) is full screened.
Usage: $dll(FullScr,1,0,0)
Return: 0 - window is not in full screen state, 1 - window is in full screen state
Function 2 - check for specified process in parameter#1.
Usage: $dll(FullScr,2,chrome.exe,0)
Return: 0 - process doesn't exists, 1 - process exists and is in full screen state, 2 - process exists but not in full screen state
Function 3 - return process name of foreground window (but only if that window is full screened).
Usage: $dll(FullScr,3,0,0)
After first call from LCD Smartie, plugin will create an ini file (inside plugins dir), where you can change two options (refresh and exclude list).
Refresh - this will set plugin refresh time (but only if you use this plugin directly from screens settings and not from Actions).
Exclude list - put here some programs you want to exclude from detecting as full screened (It works only for function 1 and function 3, enable it by setting parameter#1 to 1 - e.g. $dll(FullScr,1,1,0)).
Although this plugin can be used from screens settings, it was mainly created for Actions. Here is how to use it. Let's say we have two themes. First one contains screens for normal usage, like clock, date and so on. Second theme is for gaming, with cpu/gpu temps/clocks etc. So, set these rules: "if $dll(FullScr,1,0,0) = 1 then GotoTheme(2)" and "if $dll(FullScr,1,0,0) = 0 then GotoTheme(1)". Change parameter#1 from 0 to 1, if you want to use exclude list (useful for skipping web browser or movie player, etc).
----
There are three functions available:
Function 1 - check if foreground window (window on which the user is currently working) is full screened.
Usage: $dll(FullScr,1,0,0)
Return: 0 - window is not in full screen state, 1 - window is in full screen state
Function 2 - check for specified process in parameter#1.
Usage: $dll(FullScr,2,chrome.exe,0)
Return: 0 - process doesn't exists, 1 - process exists and is in full screen state, 2 - process exists but not in full screen state
Function 3 - return process name of foreground window (but only if that window is full screened).
Usage: $dll(FullScr,3,0,0)
After first call from LCD Smartie, plugin will create an ini file (inside plugins dir), where you can change two options (refresh and exclude list).
Refresh - this will set plugin refresh time (but only if you use this plugin directly from screens settings and not from Actions).
Exclude list - put here some programs you want to exclude from detecting as full screened (It works only for function 1 and function 3, enable it by setting parameter#1 to 1 - e.g. $dll(FullScr,1,1,0)).
Although this plugin can be used from screens settings, it was mainly created for Actions. Here is how to use it. Let's say we have two themes. First one contains screens for normal usage, like clock, date and so on. Second theme is for gaming, with cpu/gpu temps/clocks etc. So, set these rules: "if $dll(FullScr,1,0,0) = 1 then GotoTheme(2)" and "if $dll(FullScr,1,0,0) = 0 then GotoTheme(1)". Change parameter#1 from 0 to 1, if you want to use exclude list (useful for skipping web browser or movie player, etc).
----