DX Tutorial what do you want to see?

Monday, February 12, 2007 by RomanDA | Discussion: OS Customization

If someone was to take the time to make a Good starter guide as well as a more in-depth guide to DX, what would you want to see?

Ex:
How do i make a simple clock?
How do you make a Folder Object?
What is a Group?
How do you store settings in DX?
Etc?

Please be detailed, it can help.
First Previous Page 1 of 4 Next Last
WillyD13
Reply #1 Thursday, February 15, 2007 9:41 AM
RomanDA, 1st, Thanx for helping us out!  I'm not sure where to begin as I have no real concept of using DX.  I've made 1/2ass attempts of using it ,but haven't gotten it down yet.I've been overloaded with Object Desktop'07, and just trying to understand all there is to offer (Massive GrayMatter OverLoad!)
Since you are offering your time, energy and kindness, I believe I should start,with you at the Beginners, Step #1  .
Again, THANX 4 Your Precious Time, Assistance and Caring for LostSouls!
canmandeco
Reply #2 Thursday, February 15, 2007 9:54 AM
I would like to learn how to make some widgets with DX.

In particular, any or all of the following: a Calendar, a Weather widget, ToDo List, Media Player, Clock, and Meters for Drives, CPU, Memory etc. It would also be great if there was a guide to show us how to add simple animations to them.

But I have one question. Would I be able to post my creations here on WC using the scripts that you provide in the guides or would I need to learn how to write my own code? I know absolutely nothing about coding and I haven't seen any royalty free scripts available that we could play around with and modify.
boodahbellie
Reply #3 Thursday, February 15, 2007 9:54 AM
I would love to have a tutorial that describes building an actual working Desktop environment. Of course, the graphic elements could be skipped, because I'm sure that is a topic for another discussion (you either got skillz or you don't, LOL). Setting up the various parts of a desktop, (i.e. sounds, anims, scripting actions, and the sort). I would love to start building my own desktops, but am very intimidated by DX. GreenReaper has offered a little help in #stardock, but there is only so much you can teach someone,or learn, through a chat client.

Thanks again for "stepping-up".
boodahbellie
RomanDA
Reply #4 Thursday, February 15, 2007 9:59 AM
My plan for this is to start VERY simple.

With a "lets make a widget", provide the graphics and scripts, and show people how to put it together.

Then move up slowly to more complex widgets.

As for using scripts, if i post something on here in a Tutorial its all yours, have fun. You might want to note "thanks to RomanDA for the scripts" thats all i would ask.

I like the suggestions so far.
sViz
Reply #5 Thursday, February 15, 2007 10:29 AM
Thank you DA for never forgetting us noobs!

I'd really like to know how to do a Weather object. Mostly, how do you know what images to display (sunny, cloudy, etc.) I had to limit my first weather object to text because I was pulling and parsing the info like you would for an rss reader. I realize everyone is using Martin's scripts but I always like to know the nuts and bolts of what I'm doing.


That's all for now. Good luck with this Starter Guide. It is much needed and will be much appreciated. Thanks again.
Inane
Reply #6 Thursday, February 15, 2007 11:31 AM
Scripting! How is it done and where can it be learned? Are there scripting programs, or do you just pull it all outta your head? Is this something you would cover in your tut? I would love to be able to create widgets and objects, but I don't have a clue about scripting and would like to learn.
RomanDA
Reply #7 Thursday, February 15, 2007 12:11 PM
Scripting! How is it done and where can it be learned? Are there scripting programs, or do you just pull it all outta your head?


Well... Zubaz will tell you i never code anything myself, i "Take" what i need. The truth is, he is very close to the truth. The BEST way to find code is to first determine what you are trying to do.

For instance, how about checking the time between 2 dates (for say a COUNTDOWN program of some sort).

I first look at my favorite place GOOGLE and do a simple search: "vbscript date difference"
by looking at the first 2 or 3 links i find this:

olddate = "6/26/43"
nowdate = Now
Diff = DateDiff("s", nowdate, olddate)

So now i have something i can stick into DX.

The other way is to IMPORT widgets into DX that do what you are looking for (asking permission of course!), and looking thru the code to see what they did.

I will try and cover this as well (when i start this...)
thomassen
Reply #8 Thursday, February 15, 2007 12:22 PM
Scripting! How is it done and where can it be learned?

DesktopX uses a version of WindowScript which consist of JScript and VBScript. W3Schools is a very good starting resource to get to grips with JavaScript and VBScript.

Then you got the unvaluable DesktopX documentation to guide you through the DesktopX functionalities.
ZubaZ
Reply #9 Thursday, February 15, 2007 12:28 PM
Then you got the unvaluable DesktopX documentation to guide you through the DesktopX functionalities.


"Unvaluable" or "invaluable"?

BIG difference.    
cavalierex
Reply #10 Thursday, February 15, 2007 12:41 PM
1. Start small: A "Hello World" widget... Basically, just a widget that says (in text and/or graphics, "Hello World").

2. Next, a widget with a little interactivity: Two or three buttons that you can click to make a message window appear.

3. How to incorporate coding/scripting into the widget, so it can do more complex things.

4. How to store settings, such as configuration settings and user input.

5. How to retrieve info from your computer (system settings, resources, etc.)

6. How to retrieve info from internet sources.

7. How to interact with Windows and programs (e.g., Outlook).


Sample applications:
- Clock
- Weather
- Calculator
- Color chooser
- System monitoring tools
- Post-It notes
- Simple games (Centipede, etc.)
- RSS readers
- Search boxes


Thanks for taking the time to do this for us.
canmandeco
Reply #11 Thursday, February 15, 2007 1:02 PM
I first look at my favorite place GOOGLE and do a simple search: "vbscript date difference"


I can do that!

W3Schools is a very good starting resource to get to grips with JavaScript and VBScript.


Thanks for the link.
warreni
Reply #12 Thursday, February 15, 2007 1:56 PM
Okay, here's a pretty specific question. . . I'm using the Marvin widget (from the gallery), and, like a poster stated about it, the widget would really benefit from having a "mute" button, because it's cool when he wanders around your desktop spouting Marvin sayings while you're typing a document or searching the internet, but not so great when you're listening to music or playing a game. How would one such as myself tweak the sound properties and add a clickable mute option to widgets? Thanks.
thomassen
Reply #13 Thursday, February 15, 2007 2:14 PM
"Unvaluable" or "invaluable"?

BIG difference.

No hablo english!
Inane
Reply #14 Thursday, February 15, 2007 2:24 PM
Thanx for the replies to my question(s). I will check them out and I await the tuts! Thank you for taking the time to help!
Superboy007
Reply #15 Thursday, February 15, 2007 4:16 PM
Hi, Iwould like to see if you could make a tutorial on how to use "read, write, create, edit, etc." databases.

Thanks in advance
PoSmedley
Reply #16 Thursday, February 15, 2007 4:38 PM
This might be too much or off topic with what you have in mind...but I would really like to learn and/or understand HOW to write the scripts...in whatever language is best...Java, etc. I think if I had a general understanding I could go from there, kinda of like when I learned how to do html for geocities back in the day.

If you weren't planning on getting into this, could you recomend a good place to learn for a beginner...or even a good book on it. I have seen a lot of books on scripting at the bookstore, but not sure which code to focus on that DX uses.

Thanks Roman!

And thanks for all the help you have given me already!
thomassen
Reply #17 Thursday, February 15, 2007 5:22 PM
Either VBScript or JavaScript. You'll find more examples of VBScript used in DesktopX though.
However, if you also plan to do some webdeveloping as well you might find JavaScript to be your language as you then only have to focus on one script language.
SirSmiley
Reply #18 Thursday, February 15, 2007 5:30 PM
If I were you I'd stick to instructions/tutorials surrounding the most popular widgets. Obviously those are what people want to know how to do.

Many people seem to want instruction in general scripting but, excellent resources exist elsewhere including an excellent SDK from Microsoft. I'll try to post some more links to the DesktopX wiki of my personal favorites. Varying off into this direction most likely will confuse and frustrate many.

The possibilities within DesktopX using dxscripts alone are amazing. The other night I wrote an animated wallpaper strictly within desktopX without looking at any examples. Sure it uses more code than if I used some sort of array and/or loop but, it was quick and easy. I'll comment and upload it later.

Hi, Iwould like to see if you could make a tutorial on how to use "read, write, create, edit, etc." databases.


What type of database? Access, Excel, XML, CSV, etc etc
ZubaZ
Reply #19 Thursday, February 15, 2007 5:53 PM

Hi, Iwould like to see if you could make a tutorial on how to use "read, write, create, edit, etc." databases.

Like the one he did here: https://www.wincustomize.com/articles.aspx?aid=133860

RomanDA
Reply #20 Thursday, February 15, 2007 5:56 PM
Hi, Iwould like to see if you could make a tutorial on how to use "read, write, create, edit, etc." databases.


Here is something i did a while ago:
View Article

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01