Learning DX Step-By-Step - #10
Hide & Seek
Thursday, May 31, 2007 by RomanDA | Discussion: DesktopX Tutorials
![]() |
|
| Step-by-Step Tutorials |
#10 - Hide & Seek |
|
A series by RomanDA |
|
Listing of other DX Tutorials:
Click here
Today's Lesson: "Hide & Seek"
This will be the last in this series
of Tutorials. I hope you have enjoyed them, and managed to get something out of
them.
In this lesson we will do some basic DX operations on one object from another.
We will cover the following:
- HIDE/SHOW one object by clicking on another
- SLIDE/HIDE one object by clicking on another
- EXPAND/SHRINK one object by clicking on another
For this and all the Step-By-Step DX Tutorials you will need to purchase DesktopX for $14.95 from Stardock.
Lets get started.
STEP 1 - Create the objects
For this tutorial we will be using 3 objects: (right click and SAVE the images to your pc)
| Mask |
|
| Button |
|
| Target |
![]() |
- Create 3 objects. (look at the old tutorials for info on how to do this)
- Create an object called Mask
- width: 260
- height: 90
- Group Tutorial10
- Widget Tutorial10
- NOTE: we will later change the transparency to 0, but for now we want to see how the mask makes things work.
- Create an object called Target
- Make its PARENT object MASK
- place it at 0,0 for top/left.
- Group Tutorial10
- Widget Tutorial10
- Create an object called Button
- place it above the TARGET/MASK object (like you see in the table above, just above it)
- Widget Tutorial10
- NO GROUP!!!!
- We will make a VERY simple script on Button to hide/show Target.
STEP 2 - Add a simple HIDE/SHOW Script
Add the following script to Button:
| BUTTON Code | |
Function Object_OnLButtonUp(x, y, Dragged) |
|
Lets look at the above script.
Its VERY simple, we look at the Visibility of Target and see if its True
(is it visible), if so, we HIDE it (False), if its Hidden (False) we Show it (True).
| BUTTON Code | |
If desktopx.Object("Target").visible = True Then 'is Target Visible? |
|
That's all there is to it.
SAVE the code.
Click Button to see how it toggles Target on/off.
The MASK will stay there, but that's ok for now, we will play with that NEXT.
Here is what you will see:
| Normal View | CLICKED |
![]() |
![]() |
STEP 3 - Sliding Target
Now, lets change things up. Lets make the TARGET SLIDE up into the menu. We do this by making a script that has a few Timers (in order to slow up the sliding).
The script is a modified version of my script I used in another tutorial. The basics are this.
- The
Function Object_OnLButtonUp(x, y, Dragged)is the button being pressed (well released)
Inside here we look at the TOP position of the TARGET.
If the TARGET's top is = 0 this means its being shown and is at the normal position, so we want to HIDE it (Timer 200).
If not then we want to SHOW it (Timer 100).
We kill the timer just to be sure, then we set the correct timer to start. - In the timers we simply look
to see if the top is at 0 or at -90 (shown / hidden).
All we do to HIDE the TARGET is to move it 5 spaces at a time UP - Because we have the TARGET's parent as a MASK it will move up past the Visible area the mask shows, so it will look like its vanishing.
- In the Timer we keep moving it UP until it reaches -90 (the object it 88 pixels tall), then we kill the timer.
- When we click the button again it sees the TARGET.top position is -90 and it SHOWS it by doing the opposite as it does to SHOW it.
- We move it DOWN 5 pixels at a time till its back to 0, with the mask setup it looks like its sliding from nowhere.
- We are using this
Sub Object_OnScriptEnterTo set the initial TARGET position to 0, just so that it shows the menu on startup. If you wanted to have the menu HIDDEN on startup, you would change the 0 to -90
desktopx.Object("Target").top = 0
End Sub
Here is the script to SLIDE the TARGET UP/DOWN: (this code goes in the
BUTTON)
REPLACE the code from the "HIDE/SHOW" above.
| BUTTON Code | |
Sub Object_OnScriptEnter |
|
This would end up looking like this (when you click the button it goes UP then DOWN):

To make this look a LOT better you
could go in and make the MASK's transparency = 0 so that its basically invisible.
You can use whatever objects you want, you would only have to change the -90 to
the correct height for the object you want to use.
Again, these are just samples for you to work with.
STEP 3 - Shrinking / Expanding
Ok, so we know how to HIDE/SHOW by clicking the button, and we can make it SLIDE UP and DOWN too. Now lets make the TARGET EXPAND / SHRINK.
To do this we will use some of the same functions as above. Only now we want to not MOVE the TOP, we want to change the WIDTH of the TARGET.
The targets "default" size is: 255x88 What we want it to do is shrink down to 30x88 (so that it EXPANDS out from the left to the right).
One of the things we need to do is
change the ADVANCED settings on the TARGET image.
Click on properties, then States then ADVANCED:

This will make it so the 3d EDGE of the TARGET stays the right width, and the insides kind of Expand.
| BUTTON Code | |
Sub Object_OnScriptEnter |
|
This would end up looking like this
(when you click the button it EXPANDS / SHRINKS):
It wont look exactly like this, the edges should stay and the middle should shrink
(I just dumped this into flash, so its not the same).

In the case of the EXPAND/SHRINK, you do NOT need the MASK, so you could delete that object. I left it here only for reference.
CONCLUSION
I hope you took the time to enter the code (not just copy/pasted the entire thing) so you could work thru the tutorial step-by-step and see how things work.
This tutorial is actually 3 in 1. But they are related, so I wanted to make this last Tutorial a good one.
This will be my last tutorial for a while. I hope you have enjoyed this step into DX.
|
Enjoy, RomanDA AKA: David A. Roman http://romanda.wincustomize.com |
Creating 'Shell Animations' for SkinStudio Part 3
Creating AVI animations in Flash tutorial Part 3
Monday, May 28, 2007 by Life is a Game | Discussion: WindowBlinds Tutorials
In this part I will show you how to use the ‘Explode’ effect that is ideal to use for the ‘Empty Bin’ and ‘Permanent Delete’ animations. To get started either open the source file with which you ended up at the end of Part 2 or click here WWW Link to download it.
------------------------------------
STEP 1
First we need to delete the right folder as we don’t need it in this tutorial. To do this select the ‘Selection Tool’ and select the folder (1) and press key ‘Delete’ on your keyboard.
------------------------------------
STEP 2
Next we need to remove the second half of the animation as we will replace it later on with the 'Explode' effect. Click on the last keyframe (1) and press 'Shift+F6' to remove it.
------------------------------------
STEP 3
Now we need to remove the 'Motion Tween' of the second half of the animation. First click on the frame next to the middle keyframe and press 'F6' to create new keyframe (1) and then right-click on it and select 'Remove Tween' (2) from the drop-down menu. We needed to remove the tween because the 'Explode' effect can't be applied properly on the 'Motion Tween'.
------------------------------------
STEP 4
Now the fun begins. Right-click on the object you wish to 'Explode' (LOL) and select Timeline Effects>Effects>Explode (2) from the drop-down menu.
------------------------------------
STEP 5
After completing STEP 4 an 'Explode' window opens. I suggest you to try-out different settings until you get the desired effect. I used the below settings for this tutorial. First select the duration of the 'Explode Animation' you want (1). After that set the direction (2) in which the explode fragments should move to after the explosion. Next are Arc Size (3) and Rotate Fragments by (4). As I wanted that my fragments don't fly around too much I set them both to 20. The higher you set these numbers the bigger the explosion. Finally set the size change of your fragments if you wish to do so (5) and the final alpha of your animation (6). You should just leave it on 0% as this will make all the fragments disappear. When you set all the settings click the 'Update Preview' button (7) to see your animation. Please note that every time you change a setting you will need to hit this button to see the changes. Once happy with the explosion hit 'OK' to insert it into your flash document. You will probably need to wait a few seconds so please be patient.
------------------------------------
STEP 6
The final step you need to do is set that the explosion plays only once in case you still have some extra frames after it so it will not loop. In 'Properties' (1) tab click on the 'Loop' and select 'Play Once' (2) from the drop-down menu.
------------------------------------
Press CTRL+ENTER to preview the animation and if happy with it export it to AVI as described in Part 1. WWW Link
------------------------------------
This part completes the tutorials that you will need to create all the 'Shell Animations' so now you are ready to create stunning animations. You can download the final source file here WWW Link. Please post in comments your final results or if you have any further questions. Good luck!
Pirates Premium Suite Walkthrough
Aaarrghhh! Check out me desktop, matey's!
Friday, May 25, 2007 by Island Dog | Discussion: OS Customization
I was very excited when I found out about the Pirates premium suite. Because I'm a big fan of pirates.....pirate movies, pirate video games, you name it, and I like it as long as there is some form of swashbuckling going on. Don't ask why, I just do.
This new suite is loaded with plenty of pirate goodness including:
- WindowBlinds visual style (XP and Vista)
- Icon package with 117 icons including ones for Vista
- Wallpapers
- CursorXP cursor
- LogonStudio skin
- Gadgets including a talking pirate!
- and much more....
To use this theme you will need to have the latest Theme Manager installed. If you are an Object Desktop subscriber make sure you update through Stardock Central. When you are all updated you can simply double-click the pirates suite file to begin the pirate "transformation".
With Theme Manager open, hit apply then a new window will open, select "advanced" and this is where you can choose some options. These options include if you want to install the WindowBlinds skin, Icon pack, and the various choices of wallpapers. Once you have made your selections, click Yes and the Pirate suite will appear.
Once that is done, it's time to open the Pirates booty! By that I mean the extras that are included in your download, some of which are listed above. There are a variety of gadgets included with the suite such as a media player, clock, calendar, and my personal favorite being the talking pirate gadget. To use this or any of the other gadgets just double-click the .exe file for that particular gadget.
Also included in the pirates booty is skins for ObjectDock, LogonStudio, Bootskin, and CursorXP. If you don't already have these just click to go to their websites for download information. Now check out my pirates desktop....
Remember that Object Desktop subscribers get a discount! To find out more information and see more screenshots, follow the link below.
Here is a video to go along with the Pirates walkthrough article.
This Week in Skinning - May 25th
Skin Roundup for 5-25-07
Friday, May 25, 2007 by Island Dog | Discussion: Community
Now for the picks!

Another great cursor from TYCUS with some fantastic animation. Be sure to download this one.
Xenon (2.0) in Dreams
By NGTV
Really cool animated wallpaper with blue rays of light moving across the desktop. Great job.
SE Interface (orange) for IconPackager
By mrSkope
Beautiful set of icons. There are other color variations, so be sure to check his personal page for more.
Black Vista Basic v3.0 for WindowBlinds
By unclerob
Unclerob has now updated his Black Vista skin to 3.0, and a welcomed upgrade it is. Nice work.
Very good submissions this week again. You can always find more great works on the artists personal pages here at WinCustomize, so be sure to stop by and check them out. See you next week!
Vista Skins: Which Themes Are You Using?
Short list of my favorites
Tuesday, May 22, 2007 by Island Dog | Discussion: OS Customization
Since my switch to Vista full-time I have been having a great time customizing it and getting away from the typical "Aero" look. Now some people have expressed to me that the like the Aero look, and I have no problem with it except it has now gotten old. I used Aero for months and months, so now it's time to change Vista to the way I want it.
In the last few weeks some skinners have released Vista versions of their WindowBlinds skins, but I have also been running skins made for XP without problem. There have been a few XP .msstyles I have converted and used as well, and I have been downloading skins like crazy lately.
This is my current Vista desktop....
Right now I'm using the Stingray skin by Z71, along with ObjectDock Plus and the matching Stingray icon pack. I wanted a darker skin, and I liked the colors used in this skin.
These are a couple of skins I have been using over the last week or so as I change out every few days.
Vienna for Vista by vStyler
This skin also has an XP version, and both are great skins.
Nuage Redux by essorant
I really like the transparency in this skin, and it's definitely something different from the default Vista look.
So for all you Vista users, what skins have you been using on Vista?
Stardock & Vista Compatability - Spring Update
I told you it was coming...
Tuesday, May 22, 2007 by Zoomba | Discussion: OS Customization
About 4 months ago, I posted a small chart detailing several of Stardock's applications, their current status running on Windows Vista, and (if applicable) their targeted "Vista-Ready" date. Since the original list was posted in January, a lot has changed. Some of the original dates came to pass, some didn't, and it's about time we put up a more accurate and up-to-date list for the coming months.
| Vista Status | Vista Version | Testing Phase | Targeted Beta Date | Targeted Release Date | |
| DeskScapes | Ready | 1.0 | |||
| WindowBlinds | Ready | 5.5 | |||
| IconPackager | Ready | 3.2 | |||
| ObjectDock | Ready | 1.9 | |||
| Keyboard LaunchPad | Ready | 1.6 | |||
| LogonStudio Vista | Ready | 1.0 | |||
| KeepSafe | Ready | 1.1 | |||
| Multiplicity | Ready | 1.1 | |||
| CursorVista | Testing | 1.0 | Internal Alpha | Summer, 2007 | Fall, 2007 |
| TweakVista | Testing | 1.0 | Beta | Available to OD Subs | August, 2007 |
| DesktopX | Testing | 3.5 | Internal Alpha | Late Spring, 2007 | Summer, 2007 |
| IconDeveloper | In Development | 2.0 | Summer, 2007 | Fall, 2007 | |
| SkinStudio | In Development | 6.0 | Summer, 2007 | Fall, 2007 | |
| SoundPackager | In Development | 1.0 | July, 2007 | September, 2007 | |
| ObjectBar | In Development | 2.01 | Summer, 2007 | Summer, 2007 | |
| RightClick | In Development | 1.2 | Summer, 2007 | Summer, 2007 | |
| IconX | In Development | 1.2 | Summer, 2007 | Summer, 2007 | |
| ObjectEdit | In Development | Summer, 2007 | Summer, 2007 |
Frequently Asked Questions:
- Hey, where is <Insert Application Here>? I don't see it, does
that mean it won't ever get a Vista version?
The list above is a list of applications CURRENTLY supported under Vista, and what we have on the schedule to update in the next several months. Though the chart has items listed as "Fall" it really only goes up through the end of September/early October. If an application is not listed here, it's just not on the schedule to see either a beta or release prior to September. - Wow, it looks like all you guys are doing is making Vista updates
this year. Is Windows XP development dead?
Not by a long shot. WindowBlinds 6.0, SkinStudio 6.0, SoundPackager and IconDeveloper are all getting significant updates that will directly benefit our XP users. Development on Windows XP is alive and well and will be for some time to come. Most of us still have XP running on at least one system at the office, and at home. We want updates to XP products as much as you do! This list is just for people concerned over when their favorite apps will make it to Vista. - What about 64 bit support?
This article isn't about 64 bit support. While we do know that many of you are very concerned over this since you moved to 64-bit when Vista came out, we currently don't have a schedule we can give you. Certain items like WindowBlinds and IconPackager are definitely coming soon, and others such as DeskScapes and TweakVista already have 64-bit support. - Do These Versions Also Work on XP?
With the exception of Vista-specific applications such as DeskScapes, TweakVista, LogonStudio Vista, and CursorVista, all applications listed above work under WindowsXP. We try to be very clear when an application is Vista-only.
This Week in Skinning - May 18th
Skin Roundup for 5-18-07
Friday, May 18, 2007 by Island Dog | Discussion: Community
Another Friday, and the month is slowly winding down. Summertime is getting real close and there is some exciting stuff coming up in the next couple of months. I want to take this time (again) to thank everyone for their feedback on this weekly feature. It has been great, and I appreciate all the comments and suggestions I have been getting.
So many great submissions this past week I might have to make this a slightly extended version today.
Now for the picks!
MB-MetalReligionCur for CursorXP
By ModBlackmoon
This cursor was made to match his DesktopX theme, but I found myself using this on it's own. Very nice design, and very cool animations.
Shark Pit in Dreams
By Stardock Design
I really like this dream because it's something different than what I usually see submitted for Dreams.
Black Docks for ObjectDock
By J. Aroche
These docks are made to match the "Black" WindowBlinds skin. Great work.
Vienna Dock Backgrounds for ObjectDock
By messiah1
Another very popular WB skin is Vienna, and messiah1 has created a fantastic set of matching docks for ObjectDock.
Enchanted Morning in Wallpapers
By Stephen Lundmark
This is a beautiful set of photographs overlooking Lake Superior. Very nice.
Arran for WindowBlinds
By BoXXi
This skin caught my eye immediately with the buttons on the side of the frame. Very unique and different.
Vienna for Vista for WindowBlinds
By vStyler
Vienna for XP is a very popular WB skin, so vStyler has given us Vista users a version as well. Great job.
So many great skins this week, even though I featured a couple more than usual, I could have kept going. Thanks to all the artists for their work, and be sure to drop by their personal sites and leave them a note. See you next week!
TweakVista Feature Peek - Process & Service Profiles
My favorite feature
Wednesday, May 16, 2007 by Zoomba | Discussion: Personal Computing
Yesterday, we announced the availability of TweakVista Beta to Object Desktop subscribers, and at long last people outside of Stardock are taking this fantastic application for a spin. Personally, this is one of my favorite applications that we've developed in the past few years, it's just that well-done and so insanely useful I wonder how I've managed to run Vista as long as I have without it. If you're a power user and try to get every bit of juice out of your system, this is a must-have utility. It's well-built, easy to use, and extremely powerful. For me, this ranks up there with Multiplicity on the list of applications I can't live without.
Now there are all sorts of great features packed into this utility that let you really optimize the performance of your system, to get it running just the way you want it. Several simple service profiles have been pre-built and provided that will immediately give you a performance boost, and the amount of information you're given regarding what's taking up resources on your system is great and I'm sure there will be articles and walkthroughs of those features, today I want to talk about my personal favorite: Process & Service Profiles.
It's one of those features that unless you know where to look for it, you very well might miss it. Of course, before you go looking for it, I'm sure you'd like to know what the heck it does! Have you ever taken a look at your process list and wondered what the heck srv32gremlin.exe is? A search of Google will sometimes give you something useful, but more often than not it's all gibberish, or other people posting to forums and blogs asking what the heck the process is for. What we've done in TweakVista is built a profile database that the application can directly access to check to see if any information exists for a given process or service. If the entry exists, it returns the information, along with a link for you to add your own comments and input. If no information exists, you can fill it out yourself and submit it for inclusion.
The idea is that given time and enough users filling out information on what's running on their PCs, we'll be able to compile one of the most complete and detailed lists of processes and services on the 'net. All neatly integrated into the application and available to anyone on the Internet the TweakVista Forums.
Now that you have some idea of what the feature is, lets get around to finding it and using it.
Open up TweakVista, and select "Resources" from the list of options on the left of the window. Next, select the "Process List" tab in the right portion of the window.

This is a list of active processes much like you'd see in the normal Vista Task Manager, however we tweaked what you see a bit, making it more useful to power users, developers and anyone trying to figure out what's sucking down their resources. On this list, merely select one of the running processes and at the bottom of the screen you'll see a little bit of information about it such as the application name and where it's installed. And at the very bottom there is a link "Look up this process on TweakVista.net" Clicking on that will bring up a profile on the selected item, if it exists. The image to the left is the process profile for TweakVista.exe. At the bottom, you have the option to contribute your own input. That link will take you to a thread on the TweakVista forums where you can add your thoughts and comments on a particular process.
If you choose something that does not yet have an entry in our system, you will be asked if you would like to provide it yourself. Clicking yes will bring up a window that asks you for some basic information on a process, and then any special instructions for uninstalling it. Once you submit it, it is added to our processing queue for evaluation. A moderator will look it over and add it to the site if it's deemed appropriate (i.e. people submitting a description saying nothing but "This sUx0rz m0nk3y buTt!" will not see their contributions added).
Since we just launched the beta and the website just went fully live yesterday, the list of processes with descriptions contributed is small. We're hoping that by the time beta is over and TweakVista is released as a final product, that testers will have contributed a significant number of descriptions to our profile list. Think about how much easier troubleshooting your relative's Vista-running PC will be if you can quickly discover if an application that's running in the background is some system-crippling spyware masquerading as something more innocent looking like winSpeedTrac.exe.
So give the feature a whirl, and let us know what you think!
Keyboard Launchpad Walkthrough
Introduction to KLP
Tuesday, May 15, 2007 by Island Dog | Discussion: Community
Keyboard Launchpad 1.6 by Stardock was recently released, and this is another application that is very useful, but one I think some people aren't that aware of. So let's take this opportunity to walk through KLP, and see some of it's features. If you are not familiar with KLP (Keyboard Launchpad), it is an application that allows you to easily assign hot keys to launch programs, perform system commands, control application functions, and much more.
KLP is part of Object Desktop, or
as a stand-alone product. A limited
shareware version
is also available as a free download. Keyboard Launchpad 1.6 adds
categorization of hot keys, Windows Vista support, and the ability to assign hot
keys to control iTunes(R) music player.
|
Configuration window |
As you can see in the configuration menu, the left side already has some actions ready for you to assign hot keys to. Simply select an action such as "Notepad", click "assign", and press the keys you want to assign to this command. If you want to add your own custom command just select "New hotkey", and click "add action" to add a variety of commands to the hot key you assigned.
You can assign commands such as opening the run or find dialog, creating a new folder, shutdown/logoff commands, and many more. You can also drag shortcuts, files, and folders to the KLP window to assign hot keys to them as well. One of my personal favorite features is the ability to assign a hot key to the clipboard. This is especially handy if you need to continuously paste certain responses in an e-mail for instance.
More information and screenshots can be found at the Keyboard Launchpad link below.
This Week in Skinning - May 11th
Skin Roundup for 5-11-07
Friday, May 11, 2007 by Island Dog | Discussion: Community
I have been watching the galleries over the past week, and I have been waiting for Friday to come because I saw so many skins that I wanted to feature. It really gets tough some weeks because due to time and space constraints, it's hard for me to feature all the skins I would like, so having to narrow all of them down to 5 or 6 is difficult.
It's always good to browse the galleries, and the personal sites of the artists here because many times there are works there that are not featured in the general gallery.
Now let's get to the picks!
Vista Water Bubbles Blue v2.0! for BootSkin
By unclerob
Blue water bubbles. A huge step up from the default bootscreen, and unclerob has some other color variations as well.
The Cat 1024 for DesktopX Themes
By buzzh58
The colors and clean look of this DesktopX theme got my immediate attention. It includes a custom wallpaper, start menu, and more. Another resolution is also available.
Necromancy: Inferno in Dreams
By DuckStar
This is definitely one of the best "flame" dreams out there. It's seamless and goes great with darker skins.
Slider for IconPackager
By Skinhit
It's been a few weeks since we have seen some new Icon Packs, and this addition is worth the wait. Great job!
Vienna XP for WindowBlinds
By vStyler
This is an excellent WindowBlinds skin. No need to go on about it, just download it and see for yourself. There is also a matching cursor, weather widget, etc., so be sure to check the galleries.
This has been an exceptional week, and make sure you check the galleries here on WinCustomize as there are some fantastic submissions. See you next week!





























