sViz

sViz

Joined Member # 2472800
0 Posts 22 Replies 31,128 Reputation

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

12 Replies 6,201 Views

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.

9 Replies 6,049 Views

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?

8 Replies 4,060 Views

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.

2 Replies 4,490 Views

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.

2 Replies 1,946 Views

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.

2 Replies 1,946 Views

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!

13 Replies 12,045 Views

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!

18 Replies 24,103 Views

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

3 Replies 3,104 Views

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.

5 Replies 5,016 Views

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

11 Replies 3,154 Views

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

2 Replies 3,894 Views

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.

57 Replies 19,147 Views

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<

11 Replies 3,154 Views

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

11 Replies 3,154 Views