I need help with desktopX sidebar

I made a Sidebar in desktopX with lots of gadgets
but i want when i close a gadget on the sidebar that that gadget remains closed forever
even when the desktopx sidebar.exe is restarted.

Sidebar Screenshot

my qeastion is. is there someway with the dx script that you can
write it in the regestry when an object is viseble or closed ?
and if there's any way can some one please show me

sorry for my bad english
3,678 views 4 replies
Reply #1 Top
I don't know of a way to customize the tooltip. You can script a custom tooltip of your own, or have rollover effects that will display information in a standard location, for example, on your widget. I personally don't use the DX standard tooltips because, last I checked, they always show up under the mouse cursor and are obscured anyway.

Also, and I'm less certain on this one, I'm not sure there are reliable means of customizing the default labels for objects--particularly not for individual objects. I also usually avoid these and just add additional text objects (which can be fully styled) where needed.
Reply #2 Top
I know but i what i need is a script for regestry saving

like when i close a gadget it must be closed for ever even when the exe is restarted and when i open the gadget again the gadgets must be opened for ever even when i restard the exe until till of course i close it again
Reply #3 Top
I'm sorry. I typed that post in response to a different thread. I'm not sure how it ended up here, but I must have typed in the wrong box. My apologies for the lack of addressing the problem, and confusion!


Here is one thing you can do with gadgets. If you have a gadget set to start on startup, I think that's what we are talking about, and you want it to stop loading on startup whenever you close it from the bar. DesktopX sets a gadget to run on startup by putting a shortcut in the user's Startup folder.

[user](s)\Start Menu\Programs\Startup

You can delete this shortcut in a special close subroutine, and the widget/gadget won't start on the next reboot. When user clicks close button you set up, then you delete the shortcut and Widget.Close. If widget closes normally, leave shortcut there. You can create this shortcut, if it does not already exist, in the Object_OnScriptEnter to set it to run on the next startup.

Or, if you want the widget or group of DesktopX objects to run, and be available to the sidebar, but be hidden on startup, you can use a Widget.Preference
and set it to True or False. Then, in your Object_OnScriptEnter sub, you can check what it is, and set the self visibility Object.Visible = Widget.Preference("MyVisiblilityPref").Value



Sorry, again, for not making sense. I intended that response for someone else.

You can change registry settings with vbscript also.

ACtiveExperts.Com

But this will often cause anti-virus and such to go off.
Reply #4 Top
Yea lol thanks for comment i already manadge do it i made mistake with my current script someone helped me and i say it right away gadgets now read and write in regestry so its al awesome now