Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 03, 2015, 08:31:48 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Dr.Windows (Windows Error Guard) - fun for the family for the holidays  (Read 13386 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
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 -  ;D
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 :)

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 »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Windows Error Guard - fun for the family for the holidays
« Reply #1 on: December 06, 2005, 02:25:48 PM »
 :) 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
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Windows Error Guard - fun for the family for the holidays
« 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.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Windows Error Guard - fun for the family for the holidays
« Reply #3 on: December 06, 2005, 10:22:58 PM »
i couldn't resist - working on this myself now - should be done by tomorrow.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Windows Error Guard - fun for the family for the holidays
« 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?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Windows Error Guard - fun for the family for the holidays
« Reply #5 on: December 07, 2005, 02:11:41 AM »
http://www.donationc...m/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.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Windows Error Guard - fun for the family for the holidays
« 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.

alecjw

  • Participant
  • Joined in 2005
  • *
  • Posts: 42
    • View Profile
    • Donate to Member
Re: Dr.Windows (Windows Error Guard) - fun for the family for the holidays
« 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?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,012
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Dr.Windows (Windows Error Guard) - fun for the family for the holidays
« 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..