The forum about the freeware Alarm Clock by Tarry91.

  • Post new topic
  • Reply to topic

Dynamic Messages

Share

Tarry91
Admin
Admin

Number of posts: 21
Age: 19
Registration date: 2009-01-15

Dynamic Messages

Post by Tarry91 on Mon Jan 26, 2009 4:16 pm

What is it ?

Dynamic Message give you the opportunity to show a different message every time an event occurs.
Ether using a random message out of a defined poll or one after one.
This also enables you to define messages with more than one line.


What is it good for ?

You can use it for a variety of reasons like

  • Quote of the day (Showing a different quote every time)
  • Tips and tricks (Showing a different tip every time)
  • Dynamic messages created by 3rd party programs (The messages are saved in an *.ini file, what enables every program to add new ones)
  • ...

How does it work ?

You need to create a *.ini file in the program folder and enter the name as message.
If I would like to show a different quote every time I could name the file "Quotes.ini" and enter as message "Quote". The program will find the file and extract a message out of it.

Note: The names "Save", "SaveWrong", and "Languages" are not valid.


How does the file have to look like ?


The basic syntacs of the file has to look like this:

[Settings]
Counter =0
Mode =Continuous

[My 1st message]
1 =Line 1
2 =Line 2
3 =Line 3
...


[My 2nd message]
1 =Line 1
2 =Line 2
3 =Line 3
4 =Line 4
...


[My 3rd message]
1 =Line 1
2 =Line 2
...


Note: If you change "Mode =Continuous" to "Mode=Random" it will show you a random picked message otherwise it will go on in the list.

And example file for quotes could look like this:

[Settings]
Counter =1
Mode =Random

[My 1st Quote]
1 =The true traveler is he who goes on foot, and even then, he sits down a lot of the time.
2 =
3 =- Colette, Paris From My Window, 1944
4 =- French novelist (1873 - 1954)

[My 2nd Quote]
1 =Trust one who has gone through it.
2 =
3 =- Virgil, The Aeneid
4 =- Roman epic poet (70 BC - 19 BC)



I like the idea, but I don't want to get my own quotes and write the file on my own. Can I download a file somewhere ?

Yes, you can ! You can download the following files of dynamic messages:

You are welcome to send me your quotes and / or files and I can format and upload them here so everybody can use it.


If you have any comments or questions, please just reply here.


_________________
“Two things are infinite: the universe and human stupidity and I'm not sure about the the universe.”
- Albert Einstein


Alarm Clock by Tarry91 - http://Tarry91.quotaless.com/index.html
  • Post new topic
  • Reply to topic

Current date/time is Fri Jul 30, 2010 12:25 am