johnpieter Posted December 21, 2010 Posted December 21, 2010 here possible to create reminder.suppose after mention time with some mess!as per that time its should be intimate in cad.after loading we want fix some 4 to 5 mess with some time .when that time is coming its should be remind with that text mess Quote
ReMark Posted December 21, 2010 Posted December 21, 2010 You want a lisp routine that will act as a reminder to fix some previously created text? Quote
johnpieter Posted December 21, 2010 Author Posted December 21, 2010 You want a lisp routine that will act as a reminder to fix some previously created text? no..i am asking for mess reminder. i am given some mess.please see the sample 11.30AM "Message is XYZ." 01.00PM "Message is ABC." 04.00PM "Message is EFG." what ever i am updating to txt ifile t should read that time and as per that system time its need to remind.suppose as per 1 st mess while system time is coming 11.30AM that time Message is XYZ should be display. Quote
ReMark Posted December 21, 2010 Posted December 21, 2010 If I need a reminder to do something I put it in MS Outlook or some such program and not in AutoCAD. What kind of reminder message do you want the user to see? Give us an example. Take out the trash. Purge your drawing. Walk the dog. Audit your drawing. Get the boss a cup of coffee. Now! Save files to the network before leaving at the end of your shift. Quote
alanjt Posted December 21, 2010 Posted December 21, 2010 You could write a command reactor and have it check the time to a list of times and messages and if one matches, have it display. eg. (defun foo (/ lst msg) (setq lst '(("1100" . "Hey, it's 11am") ("1200" . "Hey, it's 12pm") ("1730" . "Hey, it's 5:30 pm") ) ) (if (setq msg (cdr (assoc (substr (rtos (getvar 'cdate) 2 0) 5) lst))) (princ (strcat "\n" msg)) ) (princ) ) Quote
johnpieter Posted December 21, 2010 Author Posted December 21, 2010 each and every hour i want some reminder mess what ever we are mention.because we r handling more projects.so we are fixing 11.00AM Capturing 12.00PM Quality Check Assign 1.00PM Final QC assign 2.00PM Data deliver This mentioned message i want to show.(Its need to work with as per the System time) Quote
johnpieter Posted December 21, 2010 Author Posted December 21, 2010 You could write a command reactor and have it check the time to a list of times and messages and if one matches, have it display. eg. (defun foo (/ lst msg) (setq lst '(("1100" . "Hey, it's 11am") ("1200" . "Hey, it's 12pm") ("1730" . "Hey, it's 5:30 pm") ) ) (if (setq msg (cdr (assoc (substr (rtos (getvar 'cdate) 2 0) 5) lst))) (princ (strcat "\n" msg)) ) (princ) ) how to use this?("1100" . "Hey, it's 11am")Here 1100 means what is this?And after open the cad we have to load thats all? Quote
alanjt Posted December 21, 2010 Posted December 21, 2010 1100 means 11:00am. This is not a completed routine, you would need to write a command reactor to activate a subroutine similar to what I've provided. Quote
Lee Mac Posted December 21, 2010 Posted December 21, 2010 Alan, I think your retrieval of the CDATE Sys Var is slightly off, better perhaps: (menucmd "m=$(edtime,$(getvar,DATE),HHMM)") Quote
Lee Mac Posted December 21, 2010 Posted December 21, 2010 Maybe you can glean something from this: http://www.cadtutor.net/forum/showthread.php?54102-How-to-make-quot-Tip-of-the-Day-quot-with-DCL&p=366779&viewfull=1#post366779 Quote
alanjt Posted December 21, 2010 Posted December 21, 2010 Alan, I think your retrieval of the CDATE Sys Var is slightly off, better perhaps: (menucmd "m=$(edtime,$(getvar,DATE),HHMM)") LoL, I was taking the date instead of the time. Oops. Doesn't matter, clearly he has no interest in coding it himself. Quote
Lee Mac Posted December 21, 2010 Posted December 21, 2010 Doesn't matter, clearly he has no interest in coding it himself. x2 00000000 Quote
JPlanera Posted December 21, 2010 Posted December 21, 2010 If I need a reminder to do something I put it in MS Outlook or some such program and not in AutoCAD. maybe he doesnt have MSoutlook, did you ever think of that? Quote
ReMark Posted December 21, 2010 Posted December 21, 2010 maybe he doesnt have MSoutlook, did you ever think of that? Yes I did. It's covered by the words "some such program". So your point is? I bet this guy is a real hit in the office. If someone put this program on my machine or executed it over a network I'd find a way to disable it....fast. Do users really need constant interruptions? Aren't there enough distractions to overcome already? Quote
The Buzzard Posted December 21, 2010 Posted December 21, 2010 johnpieter, I cannot help but notice all these multiple threads you are posting as well as an uncanny writting style with comments and explainations that do not make any sense. Seems to resemble a banned member here. But I am sure it will all come out in the wash at some point. Quote
ReMark Posted December 21, 2010 Posted December 21, 2010 Could it be deja vu all over again? Please say it isn't so. Have we been "punked'? Quote
The Buzzard Posted December 21, 2010 Posted December 21, 2010 Could it be deja vu all over again? Please say it isn't so. Have we been "punked'? ReMark, Not sure, But I was right about it twice before and I thought I would go for broke. When I posted code on another one of his threads, He no longer replied. He knows that I know. On top of that it also seems that while he tries to change things up, He still leaves all the same clues. Quote
JPlanera Posted December 21, 2010 Posted December 21, 2010 Surely CADTutor isnt banning people because of poor English, right? Oh ReMark, i haven't heard of a program called "some such".. Is that an Apple product? Oh wait... Does CADTutor ban people because of excess sarcasm? Im toast! Quote
The Buzzard Posted December 21, 2010 Posted December 21, 2010 Surely CADTutor isnt banning people because of poor English, right? Oh ReMark, i haven't heard of a program called "some such".. Is that an Apple product? Oh wait... Does CADTutor ban people because of excess sarcasm? Im toast! You would have to of been there to understand whats going on. Quote
ReMark Posted December 21, 2010 Posted December 21, 2010 I don't think the person being referred to was banned. At least I don't recall that he was. Let's just say he was shunned. He did some things he shouldn't have done with someone's code and he failed to follow certain code posting rules after having been instructed to do so several (that's being kind) times. To top it all off he came off as demanding. His English was difficult to comprehend but I don't think we held that against him. We seem to make do even when language barriers get in the way. He tried to sneak his way back in but was discovered rather quickly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.