Vad_M: I had a lot a problems with this because DesktopX work incorrect with any rotating objects. Seems It lost a centar... So I made complicated code which calculate the rotating angle through geometry formulas and then apply these angle to the object. Now my controls rotate around the center without any bugs. Let me know if you need this code. Seems that Mr. Vad_M did us all a favor and coded a solution to that problem that apparently fixes the
ViperWorm
Yeah, I have the same problem. It's really frustrating since .Rotation was one of my favourite things and just as I started having some great ideas with rotation it stopped working properly... I really hope this problem gets fixed soon [e digicons]:pout:[/e]
Really interesting stuff at the end with the whole code snippets sharing system, can't wait to see how it all plays out. Awsum show this one :CONGRAT:
Your post seems to make a lot of sense, I'll try your advice tomorrow, today I'm busy with new year party organization :D happy new year to all!
Heh I actually once traced this folder (current theme) because I was curious where DX extracted desktops ^^ Anyhow, i cleared the cache, but my dear project blazed into a fireball again...
[quote] Have you cleared the DesktopX cache? [/quote] Nope, how do I do that? Just sent you the mail SirSmiley, hope you'll find the solution.
Hello! I've spent last couple of days programming a new project and it was going so well I was really enjoying the work. And then, while testing one of the features it crashed. Nothing special, this happens while the script is in developement, so I went and checked it for mistakes. But to my amazement, after quite some time I couldn't locate the problem. This is the bit where DesktopX Builder crashes in flames: [code="vbscript"]Dim HKEY_entrynum Dim HKEY_w
Bioshock does promote excessive violence and drug use and the only art in that game is realistic water and blood and AI which are gr8... It would be very nice to have a theme that would have such gr8 water effects however...
It's been a while since I wrote sth in here so here's my new question: Is there any Sub instruction that would make that sub engage whenever mouse cursor changes its position? For now I am using Sub Object_OnTimerxxxx and it works OK, but it consumes too much CPU power, so an alternative would be greatly apprechiated (name in credits etc...) **Well I came to a conclusion that timer is actu
Well Cyberium's script could be repaired so instead of manually inserting numbers it would check what parent object width is ( pow = DesktopX.object("parent").width). Put that in Object_OnScriptEnter sub OR write "DesktopX.object("parent").width" instead of a number and it should make no problems Otherwise it's a cool script <img src="http://images.stardock.com/wc/smiles/Cool.gif" border=0 align="absmiddl
***Deleted By ViperWorm*** Found a solution
CerebroJD, thanks for reply
I ran some additional tests and I figured out that it's nothing wrong with this script. Twitching is caused because DX sometimes reads CPU's activity as 0 allthough it's really not...
Well here I have another problem with a script.... I tried to create a gauge that would rotate accordingly with CPU usage... So this is the script I wrote for it: Sub Object_OnScriptEnter Object.settimer 1234,100 End Sub Sub Object_OnTimer1234 If Object.rotation Object.rotation = Object.rotation + 1 End If If Object.rotation > system.CpuActivity Then Object.rotation = Object.rotation - 1 End If End Sub<
More info....want more info....^^ You're really starting to impress me with all these complex scripts. I was pretty much satisfied with showing/hiding object, setting its state, but now I want to expand my knowledge. Way to inspire people, RomanDA
Now I need some help with object I'd like to act as a taskbar. I need it to be vertical and look like this: I need it to be of fixed width and height. Layout on the picture above is as I would like it to be when the object is finished (number of buttons, their colors and dimensions are as they should be). If anyone feels like helping me out, please send me *.dxpack on: vip
THANK YOU SirSmiley! That worked perfectly
I've just encountered a new problem :S I am trying to write a script for one of my widgets. I need it to, on command executed, start moving one of the object downwards until it gets to defined top=1000. This is what I have now: Sub Object_OnStateChange(state) If state = "Command executed" Then Object.SetTimer 90909, 10 End If End Sub Sub Object_OnTimer90909 DesktopX.Object("iKC_Arm_S").Top = DesktopX.Object("iKC_Arm_S").Top + 10 E
What do you mean permissions? And where do I get them if I don't have them? And could you throw in a little example of key-triggered script, so I can try to work something out
C'm on guys, what do you think of a method which I have written last? I'm anxious to see either I should keep working on LOCK-UP or just post it... And one more question, is it possible to trigger a script with a key on keyboard? Waiting for your replies.:.:.:.:.:.:....
Well, It does seem undoable, but, if you open, let's say Task Manager it does get in front of an object with 'Always on top' Z-Order, BUT, if you click on that object it will get in front of Task Manager, the same happens if you have properties window opened and you click apply, so I figured is there a way to 'emulate' any of these two things? Or just to start a script, when ctrl and del are pressed, which would refresh the main object and place him over the Task Manager? Sounds do
Firstly, thank you all for replying Now that I saw thomassens reply it became quite funny, because this particular object I need help with was inspired by his 'switch' which made a lot of people mad, but I found it to be a great inspiration for my object I named this almost finished object LOCK-UP. As its nam
I need someone with a quite vast knowledge of DX-scripting. It's not like I can't do any scripting at all, but I would need someone to help me with more complex scripts... SO, everyone who helps me will be added in About sections of widgets, with links to their desired pages and similar Basically, I will be eternally thankful to anyone willing to help me <img src="http://images.stardo