topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday March 19, 2024, 4:06 am
  • Proudly celebrating 15+ 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: DONE: Basic Pop-Up Notice/Reminder Window  (Read 16409 times)

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
DONE: Basic Pop-Up Notice/Reminder Window
« on: July 14, 2014, 02:28 AM »
I'd like to use the built-in Windows Scheduled Tasks to put in certain reminders.

When a particular date/time arrives..., a window will pop up on the screen, with text.

Characteristics of the pop-up window:

-- Centered on the screen
-- Regular window with x in right-hand corner that user can press on to dismiss
-- Ability to control font size.  Would like a large-sized font -- perhaps 40-point
-- Possibly allow for setting background color -- perhaps a nice light blue

Ideally there would be an .ini file, in which one could place the message text, and the above parameters, like font-size, background color, etc.

As this request seems pretty basic, I'd guess there already exists such a program.  If that's the case, please tell me.

I don't want any scheduling, etc., as Windows Scheduled Tasks already handles that.  What's requested is just a very basic pop-up window with text.

Thanks much,
Nicholas Kormanik


4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,640
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #1 on: July 14, 2014, 05:22 AM »
Stickies ?

While not as basic as you want, it does all that and more ... you don't have to use all it's features ;)

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #2 on: July 14, 2014, 08:16 AM »
I think I can whip something up.  ;)

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #3 on: July 14, 2014, 08:40 AM »

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #4 on: July 14, 2014, 08:43 AM »
Well, here is MessagePop - You can customize the title, message, text size, text color, window size, and allows some HTML tags. Hope you find use for it :-)

Download - http://vdsfreak.com/...89185/messagepop-v13

Updated to version 1.3
« Last Edit: June 02, 2016, 07:34 AM by c.gingerich »

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #5 on: July 15, 2014, 12:26 AM »
Definitely cool, Chris.  Amazing that you were able to come up with it so fast.  Great going.  Everything I asked for, and more.

Thanks to 4wd and wraith808 for your suggestions.

Chris, only one question remains.  Certainly I can have multiple folders of MessagePop -- each one for some particular message.  Not a problem.  But let's just suppose a user wants to store *five* messages, and doesn't think of creating five different MessagePop folders.  What might you suggest to that person?

As said, not an issue as far as I'm concerned.  But just a thought.

Thanks again, Chris, big time.


AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #6 on: July 15, 2014, 05:32 AM »
I'd like to use the built-in Windows Scheduled Tasks to put in certain reminders.

When a particular date/time arrives..., a window will pop up on the screen, with text.

Characteristics of the pop-up window:

-- Centered on the screen
-- Regular window with x in right-hand corner that user can press on to dismiss
-- Ability to control font size.  Would like a large-sized font -- perhaps 40-point
-- Possibly allow for setting background color -- perhaps a nice light blue


IIRC therefore I had used MessaBox > https://www.donation...dex.php?topic=9221.0


.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #7 on: July 15, 2014, 07:30 AM »
@nkormanik - Thanks, I'm glad it'll work for you! Since I added command line support for the message you can pass a message to the EXE. So if the user has 5 tasks scheduled he can pass a different message to each one.

MessagePop.exe "This is message 1"
MessagePop.exe "This is message 2"
MessagePop.exe "This is message 3"


nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #8 on: July 15, 2014, 11:56 PM »
Excellent!

Skwire, another winner.


skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #9 on: July 17, 2014, 08:50 AM »
Good work, Chris.  I'll move this.

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #10 on: June 01, 2016, 07:38 PM »
Chris, is there a code I can include in the .ini file that would show the current time (that is, when MessagePop executes.  not dynamically updating to current time.)

Really appreciate your work.  Thanks so much!

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #11 on: June 02, 2016, 07:34 AM »
It does now. ;-)

Version 1.3 added <shortdate>, <longdate> and <timeout>. See ReadMe.txt and MessagePop.ini for more information

Download - http://vdsfreak.com/...89185/messagepop-v13

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #12 on: June 02, 2016, 04:55 PM »
You da man, Chris!  Thanks a bazillion.

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #13 on: June 03, 2016, 02:51 AM »
Chris, would it be possible to show the current time -- that is, when MessagePop executes?  Just the static time is all.  No dynamic updating to the real current time.

Exactly as you show the current date, in your example file.

For instance:  User is running a long statistical analysis in a math program, and ends the series of statistics steps by having a batch file run which calls MessagePop.  He/she knows when the stats program started -- let's say, noon.  He/she goes away, comes back around 4pm, sees MessagePop display the time 1:30pm.  That was the very end of the stats analysis, when batch file calling MessagePop fired up.  Thus he/she knows that the entire stats analysis took one-and-a-half hours -- from noon to 1:30pm.

The new countdown timer is pretty cool, too.  Not what I was asking for, though.


nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #14 on: June 07, 2016, 06:55 PM »
Chris, another idea would be to include a "count-up" timer, as opposed to displaying the current time.

I didn't think of that because I figured showing current time would be easiest.

Count-up from time of MessagePop execution seems a great idea.

Thanks!

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #15 on: June 08, 2016, 01:03 PM »
Done. Added <poptime> and <timepassed>. See ReadMe.txt for info.

http://vdsfreak.com/...303589185/messagepop

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #16 on: June 08, 2016, 03:55 PM »
Fantastic!  Hope others out there find and can use this little gem.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #17 on: July 07, 2016, 09:50 AM »
Update: Version 2.0 is now available!

I added:

- <timer_sec> (shows the timer countdown only in seconds)
- an optional ok button for the user to click to close the message
- a optional checkbox to allow the user the option of not showing the message again
- you can set an icon for the message (one of 4 icons: warning, error, info, and help)
- and now all parameters can be passed at command line.

Hope you like it! - http://vdsfreak.com/...303589185/messagepop




c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #18 on: July 07, 2016, 01:10 PM »
Another update :-) v2.1

Fixed some bugs and added MessagePop Helper to aid in the creation of messages!

http://vdsfreak.com/...303589185/messagepop

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #19 on: July 08, 2016, 02:37 AM »
A couple more thoughts, if you want 'em, Chris...

-- No need for topmost 'menu bar.'  Redundant, if user includes 'Okay' box to close.  Saves some screen space.  Perhaps give user option to disable.  Keep text as close to top of total box as possible.

-- Would 'auto-size' be possible, depending on the size of text in main window?  Or maybe allow adjusting size of the window manually, with mouse drag?

-- If it ain't in the .ini file..., do not include by default.  Such as the big blue icon.  (How does one get rid of that??)


c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #20 on: July 08, 2016, 06:48 AM »
I can can add the option to remove the title bar, but without it you will not be able to move the window. I'll look into the auto-size. The blue icon showing is a bug. I'll have that fixed on the next release.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #21 on: July 08, 2016, 06:47 PM »
Update: v2.3 - Height and Width are no longer used. Message auto-sizes based on the size of the message. Added the option of having no title. Made some changes to the UI how the OK button and DNS check are shown as well as the background color.

http://vdsfreak.com/...303589185/messagepop

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: DONE: Basic Pop-Up Notice/Reminder Window
« Reply #22 on: July 09, 2016, 01:50 AM »
Super work, Chris.  Thanks a million.