PDA

View Full Version : Festive Proggy help needed!


4090987414711
11-26-2006, 04:40 PM
Hi I am attempting to make a cool festive program that plays random background music (christmas of course!) and display festive images..

I have got the music sorted out, but what I want to do is make the application run in the system tray(which is not a problem) but I dont know how to make a right click menu that I can access from the system tray, and I think the biggest problem, is there anyway at all to display the images above the users desktop instead of showing in the actual program window?

And I need the images to somehow "randomise" so the same images dont get shown when it is run.

If Im being 2 technical, what I mean is Ive seen a few programs that display "christmas tree lights" over the desktop, so the users desktop is still visible, but the lights animate over the top, and I was wandering if this was at all possible?

I have included an example of the project, I have removed the audio as file size was 2 big, and only 3 simple images!


Thanks in advance!

holtgrewe
11-26-2006, 08:26 PM
I've added some simple randomizing to the page for the pics. I assume you will be adding more pictures; since randomizing to (3) doesn't give a lot of options.

I hope this helps.

4090987414711
11-27-2006, 06:02 PM
Thanks so much for that, it really did help!

Now for the most seemingly impossible, can I display the images directly onto the users desktop or does it have to be confined to the program window?

Thanks again :-)

TJS
11-27-2006, 10:18 PM
Ok, its a little rough, but the attached apz contains an example. All the relevant script is on the "On Preload" and "On Show" events with comments. You just use a few of the Application and Window actions to get the size of the desktop, apply a mask (see help file for more on masks) and resize the lot accordingly.

My example doesn't flash any lights but you could add that with an "On Timer" action that replaces the image over and over. Also, I doubt this will work too well for users that run their desktop across multiple monitors... but its a start.

hth.

BTW... click on any of the lights to close.

holtgrewe
11-27-2006, 10:55 PM
You would need to create a template the size of the photos you wanted to display on the page. Once the template is created the photos will appear in the template based on your scripting.

Create the Template:
Click on ( Project / settings / custom mask ) - chose an image for the custom mask. The template will eliminate any black space around the template, so if you want a mask for say 3X4 images (landscape), it would be best to start with an all white mask or some photo without black bordering. The templates can be made in just about any shape you want.

In my example The template and the background are the same photo. I've set the actual image as the background. Experiment with the example so that you can see what's happening.

Please read the help file and the search the forum, There is some great info out there, as this can be a bit tricky.

Unless you place a button on the template to exit, the user will need to kill it (close it) from the task bar.

Good luck with the project, sounds pretty neat.

holtgrewe
11-27-2006, 11:02 PM
TJS
Nice job, you slipped under my radar.

Roboblue
11-28-2006, 04:19 AM
Xmas, Bah Humbug.
Come to the Darkside.
See XmasHumbug.apz
(Just kidding)
It is that time again. Maybe with some input from others, we can make a nice Xmas presentation to give as an Xmas favor.