What about checking all children if in a Mouse Over state and THEN only hiding if they aren't. This way, whenever the appbar loses mouseover focus it will only hide if none of it's children are being mouseovered. Example Sub Object_OnMouseLeave hide = True For Each chld in Object.Children If chld.State = "Mouse Over" Then hide = False Exit For End If Next
Skarny
I think desktopX can get the system user name by WMI. See here: https://www.stardock.com/products/desktopx/documentation/DX-sbs-5.asp Then you could get the gadget itself to call the correct file as options.
MMMmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm..... I can't think of an easy solution.. Maybe something like AutoIt which can set focus of windows, then when your object has it's Object_SetFocus triggered, set the focus back to the window you want. There might even be a 'focus previous window' function in AutoIt? haven't looked at it for a while. How do you get your text information from the currently open window?
I have a similar 'drawer'/'container' set up in a lot of my objects. The Ex functions receive events from all children of the parent containing it. The obj variable contains the object reference which 'fired' the event. So if you mouse_leaved a child called 'Child1' then obj.Name would be equal to "Child1" I use this to tell the Ex function which objects to respond to. The below uses 'Select obj.Name' to hide the parent object only for when the mouse leaves the pare
Example of this - http://www.freewebtown.com/skarn/downloads/chilbug1.desktop Try to set the blue blog as a NON CONTAINED child of Parent2 Nomatter what you do, it seems to always put it as a NON Contained child of Parent1 If this WORKS for someone, please let me know, because then I can investigate other causes. DesktopX version: 3.49f[rc].016 Professional
Am I correct that now when you set an object as an non-contained child of another object, rather than actually doing that, it makes it a child of the 'parent of the new parent'?? Maybe a stepped through example... This is what I 'want': Parent 1 Parent 2 (child of Parent 1 - contained) Child 1 (child of Parent 2 - non contained - events go to Parent 2) This is wh
DrSharl, I am not sure there are any other sites/transitions. What kind of transition would you like to see?
i thought by definition a bmp does not have an alpha channel. DesktopX from Stardock uses a 'magic pink' color to define 'transparent' areas of a bitmap, but it is on the rendering side of the image the transparency is 'attached' and not inherent to the image. Try finding out whether there is a color your game uses as a 'transparent color' then use that wherever on your bmp you want 'holes' to appear.
What about a disfigured image, and the prize (yes, a prize, I want a prize) goes to the person who can restore the image back closest to its original, unwarped/whatever image.
Here is a working link: https://www.wincustomize.com/skins.aspx?skinid=4348&libid=3 to the object.
Have another look Bichur, had an upload problem.
Look here: https://www.wincustomize.com/skins.aspx?skinid=4347&libid=3 It's a desktopX Object that demos a way of altering image in desktopX using an addon plugin/dll called ImageMagick
I got this error when I made an object clone itself on script enter. The clone does the same and so on and so forth.
When you close the gadget, wait for a while for it to clear it's own cache and any temp variables. Listne to the harddrive, it actually chatters for a bit after closing. When you reopen, it should be fine, but rapidly closing and opening the gadget will leads to worse and worse problems. This fits something I have experienced, but might not be your exact problem, but give it a try.
vbcrlf... dagnammit, I've been messing with CHR(13) and (11) (or whatever) combinations forever..... cheers ^_^
Look into AutoItv3.dll This can be used with DesktopX objects by registering it in a similar fashion to using the File System Object. AutoIt has various automated features which could really enhance the scope of DesktopX. Hopefully someone with more time will either explain how to do it now (otherwise wait forever (never) for me to post an example - sorry to be a ratbag).
Mmmm the magic dissapearing theme trick. If the cache doesn't hold the files anymore, they are indeed deleted. My best link is to DesktopX's 'clever' cleaning process. See, when you close DesktopX it scans its theme definition files and removes any files in the theme directory it thinks do not belond to the theme. (For example, if you copied a blahblah.txt file into the cache folder, then closed DesktopX, it will delete it. It's 'housekeeping'. I think however th
A few pics of stuff I've started... Went through a phase a creating numerous file exploring objects, and of course, I've made my own original versions of desktop notes and calanders. This is for playing a game-book where you navigated around a map on a quest. The object 'automates' the book and allows you to play in a point and click fashion and keep track of stats. A tiny little file explorer. <img src="htt
Function Object_OnLButtonUp(x,y,dragged) If dragged = False then Object.Rotation = Object.Rotation + 90 End If End Function
I would like very much to have the ability for a DX 'environment' (object, theme, whatever) to be able to be set up as a simple 'message server/client'. Does anyone know of an activex control, or .dll that can be registered with a dx object with vbscript or Jscript to do something like this? Simple scenario I'd like to achieve: An object that triggers an 'event' when it received a 'message' from an open port/whatever - message only needs to be a string, and another object whic
I've noticed this also - not so much through that process, but just in general with gadgets. When you close a gadget, you have to wait for about 10 seconds or so to allow 'something' to happen. I don't know whether it's the gadget recompiling itself, or repacking, or emptying the cache or what, but if you wait, THEN reload, you won't get the missing graphics and mouse over states etc.
_> It's a topic. A topic I might occasionally say something about. But no wine. And Jafo suffices.
The gadget cache does appear to have folder in there that MAY just have the latest version. But I'm pretty sure I didn't export it yet. I was working with it as a desktop and then export when I'm finished. Also, how do I get the gadget files (they are all 277kb) back into the original files? I'm fairly sure though that they are old versions. It's my latest one which had been wiped. And the next latest version I've got is about 2 months old :-/ I've done countless things to it since then... <
I meant that all desktopX objects are square and locked in that shape. You can't shift a 'corner' of the 'texture' of an 'object' off it's vertical, horizontal alignment to it's connecting vertices. You can program a bezier 'path' to move a DX object along if you want to. But this won't get your desired effect.
Saving arrays not so easy, Persist storage basically will only store strings. Have a look at the VBScript Join() command. You can join an array into a single string with the elements divided by a delimeter like "|". So a(0) = "hi" and a(1) = "Skarn": a_str = Join(a,"|") would give a_str = "hi|Skarn". Then you can save that to persist storage. To get the string back to an array, use the Split() command, a = Split(a_str,"|"). Sorry there are no carriage returns. Blame Stardock Central. <a