3.11.0 hide-no-resu...
 
Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

3.11.0 hide-no-result

7 Posts
3 Users
0 Reactions
456 Views
(@rtruss)
Trusted Member Registered
Joined: 4 years ago
Posts: 75
Topic starter  

So, I am testing the latest version and noticed that 2 items using hide-no-result:1 are no longer hiding :(.
The first one does but the 2 right after it do not. Am I missing something? I tried the {{{}}} method to hide them but guessing I did something wrong as nothing ever appeared when updates were pending. Scripts used for the cmds also attached if needed.

CMD=file:powershell.exe,parameters:-executionpolicy remotesigned -noprofile -file .get-UserPasswordExpiration.ps1 ,color:%Green%,text:Password Expires,no-wait:2,hide-no-result:1

# Pending Reboot
CMD=file:powershell.exe,parameters:-executionpolicy remotesigned -noprofile -file .pending-reboot.ps1 ,interval:3600,font-size:120%,color:%Red%,font-face:Tahoma,text:Reboot Pending,no-wait:2,hide-no-result:1

# Windows Updates
CMD=file:powershell.exe,parameters:-executionpolicy remotesigned -noprofile -file .windows-updates.ps1 ,interval:3600,font-size:120%,color:%Red%,font-face:Tahoma,text:Updates Pending,no-wait:2,hide-no-result:1


   
Quote
(@rtruss)
Trusted Member Registered
Joined: 4 years ago
Posts: 75
Topic starter  

Attached a pic of the output


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1501
 

when i run those commands here DTI gives <n/a> for all three and when I set hide-no-result:1 they no are no longer displayed, which is the desired result. <n/a> is the default [text] string for noresults. So I'm thinking either:

1. your system is actually returning some result which is undisplayable
2. your [text] string for noresults is different
3. the $null bit at the end of the script is a problem. maybe replace this with

Write-Output "<n/a>"

   
ReplyQuote
(@chen)
New Member Registered
Joined: 2 years ago
Posts: 2
 

3.11.0 hide-no-result do not work anymore in item REGISTRY like:
REGISTRY=interval:600,hide-no-result:1,color:CCCCEE,tree:0,text:Siemens Step7,key:HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeSiemensAUTSWSTEP7VersionString,shortdisplay:1
REGISTRY=interval:600,hide-no-result:1,color:CCCCEE,tree:0,text:Siemens TIA,key:HKEY_LOCAL_MACHINESOFTWAREWow6432NodeSiemensAutomation_InstalledSWTIAP13EditionMainVersionString,shortdisplay:1
REGISTRY=interval:600,hide-no-result:1,color:CCCCEE,tree:0,text:Siemens TIA,key:HKEY_LOCAL_MACHINESOFTWAREWow6432NodeSiemensAutomation_InstalledSWTIAP14EditionMainVersionString,shortdisplay:1

it was fine in version 3.10.2


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1501
 

agreed. I'll check it out.


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1501
 

That code needs to be brought up to date and in line with the other registry items. "It'll be fixed in the next release" O-)


   
ReplyQuote
(@chen)
New Member Registered
Joined: 2 years ago
Posts: 2
 

we are looking forward that...
Thanks for making such an interesting program!


   
ReplyQuote
Glenn's Page