Shao Sean's Calendar Object
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Shao Sean's Calendar Object
I'm trying to find a copy of Shao Sean's Calendar Object. In Dan Shafer's book, "Revolution, Software at the Speed of Thought", he mentions Sean's Calendar object on page 256 and gives the following link to get a copy of the object: http://www.runrev.com/Revolution1/devel ... tions.html. When clicked on, however, it gives a 404 error. I've tried other Google searches and this forum with no luck. Can anyone help?
urbaud
Re: Shao Sean's Calendar Object
Hi Patrick,
Thanks for your reply. I, too, was able to find Shao's website, but if you look at the site there is no ability to find the calendar object nor is there anyway of contacting Shao to get a copy from him. Unfortunately, it's a dead end. But, thanks again for trying to help.
Dan
Thanks for your reply. I, too, was able to find Shao's website, but if you look at the site there is no ability to find the calendar object nor is there anyway of contacting Shao to get a copy from him. Unfortunately, it's a dead end. But, thanks again for trying to help.
Dan
urbaud
Re: Shao Sean's Calendar Object
Hi Patrick,
I was lucky this time in my search. Try going to this website: http://dark.unitz.ca/~shaosean/download ... dar112.zip. I was able to download the calendar, but now I have to figure out how to get it to work. I can load it, but can't seem to make it go to the next or previous month/year. Perhaps if you can download it and look at it you might be able to advise me about getting it to work. Thanks.
Dan
I was lucky this time in my search. Try going to this website: http://dark.unitz.ca/~shaosean/download ... dar112.zip. I was able to download the calendar, but now I have to figure out how to get it to work. I can load it, but can't seem to make it go to the next or previous month/year. Perhaps if you can download it and look at it you might be able to advise me about getting it to work. Thanks.
Dan
urbaud
Re: Shao Sean's Calendar Object
Hi Daniel,
Shao Sean is a lady and a mighty fine programmer too. She does amazing things. Just look at the preview movies at her website.
AND SHE DOES IT ALL AT HIGHEST STANDARDS, thank you Shao, in case you read this.
regards
Bernd
Shao Sean is a lady and a mighty fine programmer too. She does amazing things. Just look at the preview movies at her website.
AND SHE DOES IT ALL AT HIGHEST STANDARDS, thank you Shao, in case you read this.
regards
Bernd
Re: Shao Sean's Calendar Object
I agree with Bernd
(I know just saying "I agree" violates netiquette but I feel it is necessary to speak up).
Mark

(I know just saying "I agree" violates netiquette but I feel it is necessary to speak up).
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Shao Sean's Calendar Object
Hi Bernd and Mark,
It sounds from your posts to me that perhaps you're both angry at me for calling Shao a man, and perhaps also, my not recognizing that SHE is a good programmer. Why do I think this? Bernd, especially because you started your post with, Hi Daniel and Mark your agreement. Well, let me say that until I read Dan Shafer's book I didn't know she existed, so how could I have known her gender nor could I have known she was a great programmer. After looking at the code in the Calendar object I concur that she must be good, as it is quite impressive and complicated. I yearn for the day that I could be as good a scripter, but alas, probably won't occur in my life time. Now, if you can put your anger aside could you help me to get it to work?
Dan
It sounds from your posts to me that perhaps you're both angry at me for calling Shao a man, and perhaps also, my not recognizing that SHE is a good programmer. Why do I think this? Bernd, especially because you started your post with, Hi Daniel and Mark your agreement. Well, let me say that until I read Dan Shafer's book I didn't know she existed, so how could I have known her gender nor could I have known she was a great programmer. After looking at the code in the Calendar object I concur that she must be good, as it is quite impressive and complicated. I yearn for the day that I could be as good a scripter, but alas, probably won't occur in my life time. Now, if you can put your anger aside could you help me to get it to work?
Dan
urbaud
Re: Shao Sean's Calendar Object
urbaud,
This might work for you... you can try mine if you want
be well
Dixie
This might work for you... you can try mine if you want
be well
Dixie
Last edited by Dixie on Mon Nov 08, 2010 10:06 am, edited 1 time in total.
Re: Shao Sean's Calendar Object
Daniel,
this is a big misunderstanding. I was just pointing out that Shao is a she. No anger no nothing towards you. I tried to make that clear, though unsuccessfully, by the paragraph and the capitalization in my message to Shao. It had nothing to do with you.
Sorry for this. It was perfectly clear to me what you wanted and that you in no way were saying anything bad about Shao and that your request was just that, a request.
Again, my apologies for the ambiguous posting. I was trying to convey two message at two recipients at the same time.
I was just expressing my high esteem for Shao and thanking her.
kind regards
Bernd
this is a big misunderstanding. I was just pointing out that Shao is a she. No anger no nothing towards you. I tried to make that clear, though unsuccessfully, by the paragraph and the capitalization in my message to Shao. It had nothing to do with you.
Sorry for this. It was perfectly clear to me what you wanted and that you in no way were saying anything bad about Shao and that your request was just that, a request.
Again, my apologies for the ambiguous posting. I was trying to convey two message at two recipients at the same time.
I was just expressing my high esteem for Shao and thanking her.
kind regards
Bernd
Re: Shao Sean's Calendar Object
Hi Dixie,
Thank you so much for offering your Calendar. I believe it is on RevOnLine and I have seen it before. However, I'm unable to use it in this project because I'm trying to build the ToDo List in Dan Shafer's book; however, I'm not sure I'll be able to complete the project as he's not as clear in the book regarding coding as I'd like, but I'll try to struggle through it. I'm a relative newbie to programming in Revolution, but I will endeavour to explore your calendar further and perhaps use it some where else. So, thanks again for being so gracious.
Dan
Thank you so much for offering your Calendar. I believe it is on RevOnLine and I have seen it before. However, I'm unable to use it in this project because I'm trying to build the ToDo List in Dan Shafer's book; however, I'm not sure I'll be able to complete the project as he's not as clear in the book regarding coding as I'd like, but I'll try to struggle through it. I'm a relative newbie to programming in Revolution, but I will endeavour to explore your calendar further and perhaps use it some where else. So, thanks again for being so gracious.
Dan
urbaud
Re: Shao Sean's Calendar Object
Hi Bernd,
Thank you for your reply. I must also say sorry to you, as I mis-read your post. You see, in the past when we have communicated with each other on this forum you always started your posts to me with Dan or Hi Dan or something like that. Your formality(Daniel) is what triggered my belief that you were angry at me. I prefer Dan, as Daniel seems to formal for me. Anyway, thanks again for the reply.
Dan
Thank you for your reply. I must also say sorry to you, as I mis-read your post. You see, in the past when we have communicated with each other on this forum you always started your posts to me with Dan or Hi Dan or something like that. Your formality(Daniel) is what triggered my belief that you were angry at me. I prefer Dan, as Daniel seems to formal for me. Anyway, thanks again for the reply.
Dan
urbaud
Re: Shao Sean's Calendar Object
Dan,
I'm sorry if I somehow contributed to your dismay, but Bernd never accused anyone. He really just said and meant that Sean is a very good programmer, which she really is, and with which I gladly agree. No anger is involved.
Best regards,
Mark
I'm sorry if I somehow contributed to your dismay, but Bernd never accused anyone. He really just said and meant that Sean is a very good programmer, which she really is, and with which I gladly agree. No anger is involved.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Shao Sean's Calendar Object
Hi Mark and Bernd,
Mark, thanks for your reply. I know Bernd didn't accuse anyone. It was a mis-understanding on both our parts. So, can we leave this behind as history?
What I'd like to ask you both is can you help me figure out how to make Shao's calendar work. When I load it into the Rev IDE and click on the "Draw Calendar" button it displays Nov 2010 with the correct date highlighted. When I click on one of the small arrows to go to the next month I get this error: image "calendarNextMonth": execution error at line 5 (Handler: can't find handler) near "calendar_goNextMonth", char 1. It then stops and highlights line 5 in the mouseUp handler:
Any suggestions?
Dan
Mark, thanks for your reply. I know Bernd didn't accuse anyone. It was a mis-understanding on both our parts. So, can we leave this behind as history?
What I'd like to ask you both is can you help me figure out how to make Shao's calendar work. When I load it into the Rev IDE and click on the "Draw Calendar" button it displays Nov 2010 with the correct date highlighted. When I click on one of the small arrows to go to the next month I get this error: image "calendarNextMonth": execution error at line 5 (Handler: can't find handler) near "calendar_goNextMonth", char 1. It then stops and highlights line 5 in the mouseUp handler:
Code: Select all
1. on mouseUp
2. if (the optionKey is down) then
3. calendar_goNextYear
4. else
5. calendar_goNextMonth
6. end if
7. end mouseUp
Dan
urbaud
Re: Shao Sean's Calendar Object
Hi Dan,
took me a while to figure it out. See how good she is?
open the script of group: objCalendar
there you will find a lot of handlers, some of them have a pass command at the end. And these are commented with "-- pass for developer trapping" on the same line.
if you do a search for "pass for developer trapping" in the script you will find all of them.
If you comment out all these lines by putting two dashes in front of them the calendar works.
It is pretty advanced stuff in there, all this passing around of messages to subhandlers and the use of params and paramcount and so on. But since it is clearly written and well documented one could find out what is going on.
But then, calendars seem simple, but once you start your own you will notice that you end up with a lot of code and handlers. Calendars are complicated.
best regards
Bernd
took me a while to figure it out. See how good she is?

open the script of group: objCalendar
there you will find a lot of handlers, some of them have a pass command at the end. And these are commented with "-- pass for developer trapping" on the same line.
if you do a search for "pass for developer trapping" in the script you will find all of them.
If you comment out all these lines by putting two dashes in front of them the calendar works.
It is pretty advanced stuff in there, all this passing around of messages to subhandlers and the use of params and paramcount and so on. But since it is clearly written and well documented one could find out what is going on.
But then, calendars seem simple, but once you start your own you will notice that you end up with a lot of code and handlers. Calendars are complicated.
best regards
Bernd
Re: Shao Sean's Calendar Object
Hi Bernd,
Thanks so much for the info on how to make Shao's Calendar work. As I said in another post, I was trying to locate it so I could build the ToDo List project in Dan Shafer's book, which uses it as part of the program. It works great, so thanks for the instructions and thanks Shao for a marvelous piece of Revolution programming.
I have a question for you. I’m sure you know about messages and message paths. I have been reading Shafer’s book and the User Guide about messages and am, frankly, struggling. It’s either I’m dense or they just aren’t written for beginner programmers or they use considerable jargon-and the bottom line is-I’m just not getting it! The way I believe I understand something is to feel comfortable teaching someone else about the topic-I don’t really understand the topic, so I couldn’t teach it. So, my question is, do you know of another source(s) that describes the concepts of messages and message paths that I could read? Perhaps, if you do, it would help me “get” the concepts. Anything would be appreciated.
Thanks,
Dan
P.S. I just thought of this. Perhaps I should try to build a project that would show how messages work. That might help me understand. Any ideas?
Thanks so much for the info on how to make Shao's Calendar work. As I said in another post, I was trying to locate it so I could build the ToDo List project in Dan Shafer's book, which uses it as part of the program. It works great, so thanks for the instructions and thanks Shao for a marvelous piece of Revolution programming.
I have a question for you. I’m sure you know about messages and message paths. I have been reading Shafer’s book and the User Guide about messages and am, frankly, struggling. It’s either I’m dense or they just aren’t written for beginner programmers or they use considerable jargon-and the bottom line is-I’m just not getting it! The way I believe I understand something is to feel comfortable teaching someone else about the topic-I don’t really understand the topic, so I couldn’t teach it. So, my question is, do you know of another source(s) that describes the concepts of messages and message paths that I could read? Perhaps, if you do, it would help me “get” the concepts. Anything would be appreciated.
Thanks,
Dan
P.S. I just thought of this. Perhaps I should try to build a project that would show how messages work. That might help me understand. Any ideas?
urbaud