gaby75, As far as I know, once an object is part of a group it cannot act alone. So, instead of having an object controller for opening & closing "rac01", try making your "activation_rac01" object a layer object with this script: Sub Object_OnLbuttonUp(x,y,dragged) If Not dragged Then Select Case desktopx.Object("rac01").visible Case True desktopx.Object("rac01").visible= False Case False desktopx.Object("r
sViz
My object has 2 states. There's a different picture for each state. How do I remotely change the picture for each state keeping in mind that each state has a different picture assigned to it. I have tried: DesktopX.Object("myob").State("state1").Picture = "mypic.png" DesktopX.Object("myob").State("state2").Picture = "mypic2.png" but that did not work. Am I missing something? Any suggestions are greatly appreciated. Thank you.
I downloaded your object and it seems to work fine. It has all the info you listed. Or am I late and you have already fixed it?
Are you saying you want it on top all the time? Going to properties > Relation > and setting z-order to 'always on top' should keep it on top of windows. If you only want it 'always on top' AFTER you click the object.........I have yet to discover a way to do z-order through scripting. Object.OnTop brings the object to the top but it won't remain there if you click on something else. That's pretty much all there is concerning z-order in scripting.
As far as I know there is no way to keep your object on top of a program running in full screen mode like windows media player. Even if you set z-order to always on top.
Thank you, Skarnivorous!
Also, if you unload DesktopX with the helper still loaded it will pop up everytime you start up DX. To rectify this, right-click on the DX system tray icon and choose 'Toggle Object Palette' to make the helper go away. Now when you unload and reload it should not appear. Hope this helps.
Hmm. If your current desktop theme was saved with the helper loaded it will continue to pop up. If this is the case you would have to close the helper and then save your desktop theme. It shouldn't come up anymore but if it still comes up I don't know what the problem is.
Thanks for these tutorials RomanDA! I don't think alot of people realize how many newbies start out really excited to use DX and then end up struggling and discouraged because they have little knowledge of scripting. I know I had alot of dynamic ideas for cool widgets and then spend most of the time frustrated with the scripting. So, keep up the good work!
Hello again, RomanDA! I would just like to say that my widget seemed impossible until RomanDA told me about this technique. Now it works great and does everything I want it to do! I'm sure I'll be using this technique on more widgets to come. So, a big thanks to RomanDA for getting this newbie started. Excellent work!
Darn it! It now DX is telling me 'permission denied'. What is the problem?
I found the problem. I was dragging and dropping taskbar shortcuts and that what caused the security check. My mistake.
I'm trying to make a user configurable shortcut. I was able to create one that allows the user to drag and drop a file or program onto the shortcut (which is displayed as text), and then rename the display text to whatever they want. The dropped files are stored in PersistStorage, the extension of the file is checked, and later the filepath is called on when it's time to run the file. The problem: I can execute executables but I have to go through a security check everytime
Thanks. I'll try to modify it and upload it. I used DesktopX 3.0 Professional and Photoshop 7 for all the artwork.
Here are more pictures. Colors= Link Widget size= Link How about those reviews?
Thanks, TheGuyPc! This widget is very personalized to my computer. Certain programs may not be available to other users. I'll try to modify it to make it more neutral so that anyone can use it. When you mouse over the orbs it basically pops up and reveals shortcuts to various programs and folders. As you can see they are grouped by network, video, music, and shared places. I'll try to link more pics so you can get the gist of this widget.
This is my 2nd widget. Based on the look, what do you think? Thanks! Link
Hey, RomanDA. I finished it earlier this month. But because my object is personalized to my computer and such, I don't think I'll upload it (won't do much good on another user's computer if they don't have the programs I use). Here's a picture of it though! LINK- Link Once again, thanks for everything! <img src="http://images.stardock.com/wc/smiles/Smile.gif" border=0 ALIGN="absmid
I keep getting a script error saying that the object does not support Desktop.Objects.Hue Is this not how you access the properties of all other objects? Is there another way to access all other objects at once or am I missing something? Thank You
Nevermind. Found it. Object.OnTop:)
I would like the object the user is interacting with (via mouse over) to automatically move up the z-order so that it is on top of the other objects. Is this possible? What does Object.SetFocus actually do? Thank you.
How 'bout a desktop garden or flower box that actually "grows" according to how much you "water" it? Could come with a "watering can" and you could download different types of flowers to "plant" in the flowerbox or garden. It's no more useless than the desktop pet so I think it'll be nifty. That's my 2 cents anyways.
Thank you to everyone who took the time to reply and offer suggetions. I finally got it all sorted out here: Link And now it works! (Of course, if I have any more problems you'll see me around.)
GOOD NEWS, RomanDA! It wasn't impossible after all! I managed to simulate the mouse over link effect (and subsequently the mouse click effect) by using OnLbuttonUp in the script for the main object. My method takes a bit of calculating and guess work but IT WORKS! Here is the piece of code I added: Sub Object_OnLbuttonUp (x,y, dragged) If system.CursorY If system.CursorY > Object.Top +20 Then<
It worked! Changing the top and left as well as the height and width made the object appear to be growing radially. BUT it took me a while to realize that in your demo object the activiation of the areas inside was set to 'none' as that is the only way to stop the mouse over= mouse away problem. However I need the activation so the links can work, and again, if the