Hi,, I am new to desktopX........
I am triying to make a sidebar gadget like of win7......
so when i click on one object in main panel it mus show the other object like popup....I did that using "RomanDA" tutorials but when i open the gadget it also popups all the sub widets in that,,,,it must be hideen while i start up and after clicking it must popup then again if i click it mus hide,,,,
Plz guys help me out....
Thanks in advance......
Guys?????
Patience, Grasshopper.
Same principle as a URL:
runApp("mailto:someone@gmail.com")
Replace the address with your own.
Ok..how to add object for about us ,,,to view our own custom about box...I saw in some DX widgets they use object if i click on dropdown menu with support,visit me like that...
And also how to make Anglo clock with 10 themes with different min hand,hour hand & second hand???????????
could you help me??????????
Thanks in advance>>>>>>>>>>>>>>>>.
What you're asking for takes time and energy, which I and others will not always have to volunteer as promptly as you might need, so you also need to famliarize yourself with the DX User's Guide and WC Wiki (links in one of my previous posts,) as it will help you learn how to figure out many of these issues on your own when no one is available. If you see something in another widget you want to try, import the widget into DX Builder and study and reverse engineer how it is done.
I can only take your requests one at a time. So, I'll start with the about box.
The custom about box is just another object toggled to show/hide when you select the About option from the menu. You can add the option to your popupmenu script to show the about box object when selected.
Create your about box object and set visiblity to 'No' in Properties > Relation, so that it's hidden by default.
Add the about option to the popupmenu script:
mainmenu.AppendMenu 0, 6, "About"
Then add the result:
Case 6
DesktopX.Object("youraboutbox").visible = true
Yes i saw it and learened basics which i need but except the scripts!!!!!!
I tried a llot to learn scripts but couldnt
so im asking
,,i also saw ur tutorial how to make angalo clock but it didnot workk,,,also i need to add more themes ..........
so plz help me!!!!!!!!!!!!!
Dude, the tutorial that sViz wrote to make the ANALOG clock does work. I use it all the time. Just saying. You did something wrong.
You seem to want her to do it all for you and you want it now.
Study the tutorials. Hers DO work. So do Romanda's. If they don't work for you, you did something wrong.
Patience is a virtue. I hope you get what you want.
Eve is awesome for getting you this far.
Yes..........I know she helped me so much ,,,,,let me try once again..
thanks for her... let me try and say you ..thanks and also sorry ...
thanks again Redneck Dude....
And do u have any clock widget so that i can use for example!???????
Only about 40 or 50...maybe more....check my gallery. sViz script is in them all.
https://www.wincustomize.com/explore/all/pagesize/60/search/redneckdude
Learning how to at least modify scripts is major. You'll be able to do so much more. Keep at it and you'll get the hang of it. Like Jim said, there are a lot of clocks in the gallery you can import to DX Builder to see how it works. Here's the simplest one I made that uses the same analog clock script: https://www.wincustomize.com/explore/desktopx_objects/4560/
Once you have the clock working, to use different themes you'll need all the different images to be the same size. (Do you have the images made already?) I'd suggest creating a state for each theme for *each* piece of the clock (background and 3 hands.) Just go to Properties > States for each object, add as many states as you need, and name them appropriately. Apply the matching images to each state.
Next, you need to have a way to cycle through the themes. Since there are many ways to do this, it'd be easier for me if to give examples if you tell me *how* you want to change the themes, whether that is clicking repeatedly on the clock to change themes or selecting a theme from a popupmenu.
the Same error appearing now when i opened your example object in DX which appeared when i made my own using your tutorial [e digicons]:'([/e] [e digicons]:'([/e]
But don't know whats the mistake ???????????????
See this the error appearing before and Now!!!!!!!!!!!!!!!!!
And i need the themes in popup menu...i wil use it in another object which has setting symbol
It looks like FormatDateTime is not recognizing your system time as valid data for whatever reason. I'm not sure why that is. You can try skipping the formatting step by finding and modifying these three lines in the script to how they appear below and see if that sidesteps the problem:
h= hour(now)
m= minute(now)
s= second(now)
(Where you'd put 'now' [thats your unformatted system time] in the parenthesis instead of 't') Be sure to delete line 19 or comment it out.
Re: themes:
Since you're using a popup menu, it would work the same as the earlier example in this thread. Assuming you have your states set up (named to match each theme) and images applied to each state, for each Case in the popupmenu script, you would set the three objects of the clock to the matching state. Here's an example:
The option in the popupmenu script:
mainmenu.AppendMenu 0, 1, "Classic Theme"
Then when you select that, the result sets the state:
Case 1
DesktopX.Object("clockface").state = "classic"
DesktopX.Object("hourhand").state = "classic"
DesktopX.Object("minutehand").state = "classic"
DesktopX.Object("secondhand").state = "classic"
Repeat for each theme/state.
OK got it worked...Thanks
Does that work only in my system or can it be worked in other when i share???????????
Yes, it works on other systems.
Thanks for the awesome support !!!!!!!!!!!!!
If you don't mind i have only two questions need to be solved ....
I have CPU meter images but dont know how to configure it to work as CPU meter..?????///
Do u have any suggestions or example templete for that...i searched but couldn't find....
PLEASE HELP ME !!!!!!!!!!!!!
I got an script
'Called when the script is executedSub Object_OnScriptEnter Call RotateArm(-90,58,50,"pointer","text")
Object.SetTimer 1, 800End Sub
Sub Object_OnTimer1 Call RotateArm(-90,58,50,"pointer","text") hr = hour(now)
End Sub
Sub RotateArm(minangle,maxangle,ZeroPercent,Obj,Mtr) meter = DesktopX.Object(Mtr).Text meter = mid(meter,5) t = len(meter) meter = left(meter,t-1) If Invert = True Then meter = 100-meter If meter < ZeroPercent Then angle = minangle + (((360 - minangle) / ZeroPercent) * meter) Else angle = (maxangle / ZeroPercent) * (meter - ZeroPercent) End If DesktopX.Object(Obj).Rotation = angleEnd Sub'Called when the script is terminatedSub Object_OnScriptExit
but pointer is not fitting at the center and not perfect...is this script works????
and is there any ram meter script in this script works as same as CPU meter????
Y guys what happened ???? [e digicons]:'([/e] [e digicons]:'([/e] [e digicons]:'([/e]
Plz help me !!!!!!!!!!!!!!1111
Howdy, again. I haven't forgotten this thread; I've just been a bit busy.
There appears to be nothing in the script that sets the position. It only sets rotation. So, you probably have to center it manually. If it's the same concept as an analog clock, you'll also need to make sure your pointer image is created with the correct original position and rotation. Meaning, clock hands are centered and pointing at 0 degrees. Judging by the max/min angles, this meter looks like the original image rotation is not 0.
It also looks as if the CPU information is pulled from a text object -- meter = DesktopX.Object(Mtr).Text -- which is probably a DX plugin object, so you might try doing the same for RAM--that is, create a DX plugin text object configured to RAM, and then point this script at that object. (See HERE for tutorial on Performance Meter plugin) Other than that, I know of no other RAM script that works on a dial meter.
okie let me try and say you ....
but its not perfect in rotation,,,what should i change in that script for rotation???
What happened to simple?
"About some simple help!!!!!"
It turned out into a big hot post !!!!!!!!!!!!!!!!!!
lol
Re rotation:
You might try adjusting the minangle, maxangle, and zeropercent variables in these lines:
Call RotateArm(-90,58,50,"pointer","text")
-90 is the minimum angle
58 is the maximum
and 50 is where the pointer rests at zero percent
If you don't mind is there any other script works for CPU meter like this ...Becoz its not working for me !!!!!!!!
There are many great features available to you once you register, including:
Sign in or Create Account