Data not refreshing...
 
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.

Data not refreshing automatically

3 Posts
2 Users
1 Reactions
1,216 Views
(@guillaume)
Active Member Registered
Joined: 6 months ago
Posts: 5
Topic starter  

Hello,

I'm encountering an issue where the displayed information does not refresh automatically, even though I'm using the interval:10 option in several items in my desktopinfo.ini file.

To force an update, I currently have to either:

  • Restart the Desktop Info application, or
  • Re-save the desktopinfo.ini file.

Interestingly, the data does refresh correctly when I trigger a screen change (for example, connecting or disconnecting a monitor), thanks to the display-change=1 option.

Here’s a simplified version of my configuration:

[options]

# Size and position
bottom=5
right=5

# Font and quality
font-face=arial
font-quality=3
font-size=18
width=405
column1width=405

display-change=1

formcolor=#000000
transparency=50

[items]

BEGIN-ONLOAD

# Get information
HOST=interval:10,set:myhost,hidden:1
SET=key:support,value:Phone Number
NETWORKINTERFACES=hide-no-result:1,interval:10,color:dddddd,style:b,operstatus:1,iftype:6 71 243,display:Adresse IP : %8,descfilter:-vmware-hyper,set:myips,value:%8,hidden:1
USER=interval:0,set:myuser,hidden:1

# Button
BUTTON=wide:1,width:405,button-color:%grey%,display:Centre de documentation, uri:www.randomurl.com
BUTTON=wide:1,width:405,button-color:%grey%,display:Ajouter une imprimante, uri:www.randomurl.com
BUTTON=wide:1,width:405,button-color:%grey%,display:Mot de passe, uri:www.randomurl.com

COMMENT=active:1,interval:10,color:dddddd,text:
TEXT=text:N° d'inventaire : %myhost%,interval:10,style:b
text= 
TEXT=text:Support : %support%,interval:10,Style:b
text= 
TEXT=text:%myips%,interval:10,style:b

# Debug scaling
# TEXT=text:resx %resx%,interval:10
# TEXT=text:resy %resy%,interval:10
# TEXT=text:dpi %dpi%,interval:10

END-ONLOAD

Is there something I'm missing in my configuration to make the updates work automatically at the specified interval? Any help would be greatly appreciated.

Thank you!


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1779
 

which bit should be updating?

The BEGIN-ONLOAD is preventing the updates.   Page 68.


   
ReplyQuote
(@guillaume)
Active Member Registered
Joined: 6 months ago
Posts: 5
Topic starter  

Indeed, with the following option "BEGIN-ONLOAD=onload:2" it works!
Thanks for the quick response!


   
Glenn reacted
ReplyQuote
Glenn's Page