I have looked everywhere at peoples requests about the display but can't find one way to get the frequency I don't want to use a plugin to just get the frequency so is there any simple way or am I out of luck?
Announcement
Collapse
No announcement yet.
How to get display frequency
Collapse
X
-
I first excuse me for the simple suggestion and then say
only if you haven't find a professional solution
I understand you don't want a plugin but it is much more
Well, I think that using SIW (System Information for Windows) you can solve the problem.
It is a fully portable application (single exe but discontinued or PAF Format but packed).
Launch it silently with the command line parameter /log and then get the value you need from AMS.
Here you can find a quick review
Hope it helps you.
-
-
Originally posted by Drag View PostI first excuse me for the simple suggestion and then say
only if you haven't find a professional solution
I understand you don't want a plugin but it is much more
Well, I think that using SIW (System Information for Windows) you can solve the problem.
It is a fully portable application (single exe but discontinued or PAF Format but packed).
Launch it silently with the command line parameter /log and then get the value you need from AMS.
Here you can find a quick review
Hope it helps you.
Also after reading there website I cant fine any freeware version at all, they offer a trial versions but not a freeware version for SIW 2013
Comment
-
-
-
Originally posted by kingzooly View PostI forgot about that Shrek thanks I give it a look over see if that can help
Thanks Shrek but that replys on luacom.Code:-- Generated by ScriptOMatic Tool for AutoPlay Media Studio function Escape(v) if (v == nil) then return ""; end if (type(v) == "table") then return Table.Concat(v, ", "); end if (type(v) == "boolean") then if (v == true) then return "Yes"; else return "No"; end end return v; end local sOutput = ""; local sOutputTitle = "Computer: localhost\r\n==========================================\r\n\r\n"; local oWMIService = luacom.GetObject("winmgmts:\\\\localhost\\root\\CIMV2"); local oColItems = oWMIService:ExecQuery("SELECT * FROM CIM_VideoControllerResolution", "WQL", 48); if oColItems then local oEnum = luacom.GetEnumerator(oColItems); local oItem = oEnum:Next(); while oItem do sOutput = sOutput .. "MaxRefreshRate: " .. Escape(oItem:MaxRefreshRate()) .. "\r\n"; sOutput = sOutput .. "MinRefreshRate: " .. Escape(oItem:MinRefreshRate()) .. "\r\n"; if (Dialog.Message("WMI Output", sOutputTitle .. sOutput, 1) == 2) then break; end sOutput = ""; oItem = oEnum:Next(); end else Dialog.Message("WMI Output", "No WMI Objects Found for class: CIM_VideoControllerResolution"); end
Code:-- Generated by ScriptOMatic Tool for AutoPlay Media Studio function Escape(v) if (v == nil) then return ""; end if (type(v) == "table") then return Table.Concat(v, ", "); end if (type(v) == "boolean") then if (v == true) then return "Yes"; else return "No"; end end return v; end local sOutput = ""; local sOutputTitle = "Computer: localhost\r\n==========================================\r\n\r\n"; local oWMIService = luacom.GetObject("winmgmts:\\\\localhost\\root\\CIMV2"); local oColItems = oWMIService:ExecQuery("SELECT * FROM Win32_DisplayConfiguration", "WQL", 48); if oColItems then local oEnum = luacom.GetEnumerator(oColItems); local oItem = oEnum:Next(); while oItem do sOutput = sOutput .. "DisplayFrequency: " .. Escape(oItem:DisplayFrequency()) .. "\r\n"; if (Dialog.Message("WMI Output", sOutputTitle .. sOutput, 1) == 2) then break; end sOutput = ""; oItem = oEnum:Next(); end else Dialog.Message("WMI Output", "No WMI Objects Found for class: Win32_DisplayConfiguration"); end
We are slowly invading your planet to teach lazy humans to read the user manual.
But don't be scared: we are here to help.
Comment
-
-
After letting some none AMS users play with it I think I am just going to set the size fixed to the 1024 and Kiosk it, this I know the stage will always be what I designed it to be :yes
Right now I don't want to include any plugin as the way I create my code and updates can some times be funny with plugins, I will keep these ideas in mind tho as who knowns down the line I might need to revisit this.
Thanks guy.
Comment
-
-
OK I am now I am having a problem if I use the FakeKiosk it for some reason cuts off the size of the start/toolbar off at the bottem, I was also going to have a image move and strech out in kiost mode but it is not letting me set negative valuses
WinPos.X will get my window then I need to make this a negative value to the image so it will move but it for some reason just goes to 0 I not sure if its me or what but -WinPos.X, (-WinPos.X) (0 - WinPos.X) none work so I am lost there also as I could of just made the image fit around my app but seems it does not want to play ball :(
Comment
-
Comment