rtruss
Forum Replies Created
-
AuthorPosts
-
rtruss
Participantrtruss
Participantwill it re-evaluate that if there is a monitor change or if you hit the reload button? I am asking about the monitor change as we do use this on VDI units and if someone has multiple monitors that they can move the ‘rdp’ connection to that may affect the dpi.
rtruss
ParticipantI see what threw me off. tour text line, I didn’t see the first dpi in there.
rtruss
ParticipantAll i can tell you is that when i changed the comparisons to use ‘dpi 96’ vs just 96 they processed the comments. Now I had not yet had coffee 🙂 and was doing like 6 other things so I will revisit as I would like this to work as well.
rtruss
ParticipantI saw this and thought, this would be VERY helpful as I have many diff mfgs and of course potential dpi settings to contend with. I copied your code and notices that your IF statements do not do the compare correctly.
this code
MONITOR=set:dpi,hidden:1,display:%7
TEXT=display:dpi %dpi%
tells to set DPI, which if you look at it is not just a number but actually dpi 96. once I updated the IFs they seemed to process correctly from what I could tell.rtruss
ParticipantI like that idea as well.
rtruss
ParticipantSo tell me is any of you are seeing this. On initial load I get the first pic and then after it refreshes/reloads I get what I think should be correct. It also happens with previous versions and have not yet confirmed the behavior on other hardware, right now Surface book 3 is what I am on.
-
This reply was modified 9 months, 2 weeks ago by
rtruss. Reason: forgot to rename the ini file
rtruss
ParticipantGot it and loving it so far. One question is there a way to remove the Microsoft from the OSDBUILD2 %1 variable? We know its microsoft already so.. Just trying to keep it more concise to fit in smaller widnows
OSBUILD2=display:%1 %18 (%17)
Displays; Microsoft Windows 11 Enterprise 21H2 (22000)looking for; Windows 11 Enterprise 21H2 (22000)
at least without doing other types of wmi calls like like i am now:
# OS info lookup table
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentBuild, set:currentbuild, hidden:1
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName, set:productname, hidden:1
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId, set:releaseid, hidden:1
#This line item only applies to WIN10 Workstations
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersion, set:displayversion, hidden:1WMI=Text:Operating System,namespace:root\cimv2,query:Win32_OperatingSystem,display:%ProductName% %DisplayVersion% (%CurrentBuild%)
I also attached an example of what I used to get and what the OSBUILD2 shows
Attachments:
rtruss
ParticipantThat is exciting. My team keeps hounding me to get this deployed to our Azure based Modern workplace devices. 🙂
rtruss
Participant -
This reply was modified 9 months, 2 weeks ago by
-
AuthorPosts