Welcome Guest.   Make a donation to an author on the site November 28, 2014, 12:09:19 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Dr.Windows (Windows Error Guard) - fun for the family for the holidays  (Read 12724 times)
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: December 06, 2005, 02:15:10 PM »

ok here is an idea i had; it should take less than a day to write with all the bells and whistles.
warning: if no one does this one i'll do it just as a lark.

ok here is the idea, it's for a joke program.

the app would be a system tray app called "Windows Error Guard" "Dr.Windows"

Ok so what does the program do?
basically the idea is to pop up at random times joke error messages of the type found here:
http://atom.smasher.org/error/
with real buttons, etc.

What is important i think is that the user should be able to configure their own dialogs.
so i suggest like this, a data directory containing dialog_name.cfg files and bitmaps for images in the dialog.
a dialog_name.cfg file like (dialog_tiredcomputer.cfg" would simple specify:
1) the titlebar of the dialog
2) the text
3) the bitmap (to be loaded from the data dir)
4) the button text

so your data file might have 100 different fake joke dialogs, and we could trade them and share them, etc.
the program should auto discover any .cfg files and choose from them randomly.

Now if we really wanted to get fancy i would suggest this: add an ability for the buttons to launch other dialogs -  Grin
for example:

Dialog_tired.cfg:
Title = "Error: Computer is Tired"
Text = "I'm sorry, you're computer has gotten very tired.\nWhat would you like to do?"
Bitmap = "tired.bmp"
Button1 = "Shutdown"
Button2 = "Continue Anyway"
Button2link = "SubDialog_beware.cfg"

and SubDialog_beware.cfg (note: subdialogs should not be shown at random):
Title = "Complaint Filed"
Text = "Your computer has filed a complaint against you, I hope you're happy"
Bitmap = "stop.bmp"
Button1 = "Ok."


And if we REALLLY wanted to get fancy,
we could actually add support for windows scripting when buttons are pressed, for example:

Dialog_tired.cfg:
Title = "Error: Computer is Tired"
Text = "I'm sorry, you're computer has gotten very tired.\nWhat would you like to do?"
Bitmap = "tired.bmp"
Button1 = "Shutdown"
Button2 = "Continue Anyway"
Button1scrtipt = "javascript:shutdown();"
Button2link = "SubDialog_beware.cfg"



Options:
program would sit in the system tray, where it could be exited (lets not be cruel), and would appear from system tray to be a real program (either having no options or fake ones).  A secret options page would allow you to set how often a message was displayed (with some randomness), like for example 1 per day, and whether to start with windows.



note: i really like this fun idea so if someone implements it, please do it well or i'll be writing this myself one day in the next week smiley

ps1: any volunteers to help make a set of funny dialogs?

ps2: any other ideas for this?
« Last Edit: December 07, 2005, 01:50:33 PM by mouser » Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: December 06, 2005, 02:25:48 PM »

 smiley And users should be able to upload their error messages, and download new ones! Each day a new error message... err, that sounds kind of famliar...?

Skrommel
Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: December 06, 2005, 02:56:47 PM »

might be nice to have an option in dialog file to show it as an alert with a url link.
Logged
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: December 06, 2005, 10:22:58 PM »

i couldn't resist - working on this myself now - should be done by tomorrow.
Logged
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: December 06, 2005, 11:36:57 PM »

just about done... only need to add scripting support.

who wants to help make some sample funny error messages?
Logged
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: December 07, 2005, 02:11:41 AM »

http://www.donationcoder.com/Beta/DrWindows.exe

  • hold down the control key when right clicking system tray icon for secret options.
  • all dialogs are configured in the Dialogs directory, they are just text files.
  • see help file for more help.
  • i even added button linking to different dialogs, can be used for real fun.


* DRWINDOWS1.png (17.02 KB, 213x134 - viewed 882 times.)

* drwindows2.png (6.38 KB, 275x203 - viewed 944 times.)

* drwindows3.png (5.79 KB, 348x120 - viewed 930 times.)
Logged
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: December 07, 2005, 02:14:50 AM »

in future version i think i will add a feature that records a minute or two of sound from the microphone after a dialog is displayed - could be hillarious.
Logged
alecjw
Participant
*
Posts: 42


View Profile Give some DonationCredits to this forum member
« Reply #7 on: December 31, 2005, 02:05:29 PM »

just about done... only need to add scripting support.
So you did decide to add scripting. Aha. So if i typed in Buttonscript:  "javascript:shutdown();" The computer would shut down when the button was pressed? If so could you tell me a couple more scripts please?
Logged
mouser
First Author
Administrator
*****
Posts: 33,705



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: December 31, 2005, 02:08:43 PM »

the above was just a sample idea - in the end i decided not to allow scripting, for fear people would use it for evilnes..
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.03s | Server load: 0.07 ]