Lee Mac Posted January 9, 2011 Posted January 9, 2011 I've posted an earlier version of this in the past, but decided to update the code and provide a proper write-up. Designed as a bit of fun, the program will allow you to create your own custom Tip of the Day messages, which will be randomly selected and displayed once each day. Whether it's used to constructively provide help for AutoCAD users, or merely provide a funny message for each day - I leave it up to you Have fun with it! Lee Code is available here - if you have any questions about how to set it up, let me know. Quote
pBe Posted January 9, 2011 Posted January 9, 2011 Yup, i remember that thread. you use the system variable 'Date for random selection, I was thinking of the same thing back then, generate the tips from a external file but not the part with calculated but random range .very creative Quote
Lee Mac Posted January 9, 2011 Author Posted January 9, 2011 Yup, i remember that thread. you use the system variable 'Date for random selection, I was thinking of the same thing back then, generate the tips from a external file but not the part with calculated but random range .very creative I'll be honest, that algorithm for calculating a pseudo-random number has been around for a while, but thanks for your kind comments Quote
pBe Posted January 9, 2011 Posted January 9, 2011 I guess i havent been around the world of programming and math to know that Pseudo-random number is new and all greek to me. thank you for information Math & Numbers will be the death of me. Quote
Lee Mac Posted January 9, 2011 Author Posted January 9, 2011 Pseudo-random number is new and all greek to me. thank you for information Well, I say 'pseudo-random' as the numbers generated are just function of the seed. But then, its nigh impossible to generate a true random. Quote
lfe011969 Posted January 9, 2011 Posted January 9, 2011 Thanks Lee for the code! I think I will use it for a mix of business and pleasure to inform users of new modifications to AutoCAD and to hopefully inspire them to show I'm trying to make their jobs a little easier. Quote
Lee Mac Posted January 9, 2011 Author Posted January 9, 2011 Thanks Lee for the code! I think I will use it for a mix of business and pleasure to inform users of new modifications to AutoCAD and to hopefully inspire them to show I'm trying to make their jobs a little easier. You're welcome Lonnie - enjoy it! Quote
autolisp Posted January 10, 2011 Posted January 10, 2011 Dear Sir, Thx for Sharing Nice Lisp, Very Use Full for me because in my office some person west of paper. His print mail & every thing. Lost lot of trees. how can i load in statrup this lisp See attched i download @ augi i thing use full for u upgrade the tip.lsp GoGreen.lsp Quote
Lee Mac Posted January 10, 2011 Author Posted January 10, 2011 You're welcome autolisp i thing use full for u upgrade the tip.lsp How do you mean? Quote
elmoleaf Posted May 10, 2011 Posted May 10, 2011 Lee, I cannot get this to run. In vanilla ACAD 2010, I did a manual appload. A tip appeared. I then tried to run the lisp from the acad command line (not sure...is the lisp command "Tip!" ?). Nothing. Tried manual appload again...no tip this time. Added the lisp to the startup suite and restarted autocad....no tip. I'm also using ACA 2011....could not get the lisp to do anything there. I've got the lisp files located in my support path. Suggestions? Thank you. Quote
BlackBox Posted May 10, 2011 Posted May 10, 2011 Math & Numbers will be the death of me. Math has never been my friend. LoL Quote
Lee Mac Posted May 10, 2011 Author Posted May 10, 2011 Lee,I cannot get this to run. In vanilla ACAD 2010, I did a manual appload. A tip appeared. I then tried to run the lisp from the acad command line (not sure...is the lisp command "Tip!" ?). Nothing. Tried manual appload again...no tip this time. Added the lisp to the startup suite and restarted autocad....no tip. I'm also using ACA 2011....could not get the lisp to do anything there. I've got the lisp files located in my support path. Suggestions? Thank you. Hi Elmoleaf, This program is a 'Tip of the Day' hence the tip will only appear once a day, try loading it again tomorrow Quote
BlackBox Posted May 10, 2011 Posted May 10, 2011 Lee,I cannot get this to run. In vanilla ACAD 2010, I did a manual appload. A tip appeared. I then tried to run the lisp from the acad command line (not sure...is the lisp command "Tip!" ?). Nothing. Tried manual appload again...no tip this time. Added the lisp to the startup suite and restarted autocad....no tip. I'm also using ACA 2011....could not get the lisp to do anything there. I've got the lisp files located in my support path. Suggestions? Thank you. Hi Elmoleaf, This program is a 'Tip of the Day' hence the tip will only appear once a day, try loading it again tomorrow This has to be one of the sincerest, yet funny exchanges I've read all day. LoL Quote
elmoleaf Posted May 10, 2011 Posted May 10, 2011 So if I restart autocad, I won't get another tip as long as it's the same calendar day? I was hoping to have something come up every time autocad is started, rather than just once a day. Actually, I first tested it on ACA 2011, where it didn't work. My second effort was on ACAD 2010, where it gave a tip one time. Thanks. Quote
Lee Mac Posted May 10, 2011 Author Posted May 10, 2011 So if I restart autocad, I won't get another tip as long as it's the same calendar day? Correct - 'Tip of the Day' I was hoping to have something come up every time autocad is started, rather than just once a day. I figured this would get annoying, plus it wouldn't be a 'Tip of the Day' Quote
Lee Mac Posted May 10, 2011 Author Posted May 10, 2011 BTW, you can run it manually if you so desire by typing: (Tip!) Quote
BIGAL Posted May 11, 2011 Posted May 11, 2011 Regarding random number generators I have been randomly buying lottery tickets for years and never won, anybody know of a better algorithm. LOL Quote
alanjt Posted May 11, 2011 Posted May 11, 2011 Regarding random number generators I have been randomly buying lottery tickets for years and never won, anybody know of a better algorithm. LOL Don't spend it on lottery tickets. Quote
elmoleaf Posted May 11, 2011 Posted May 11, 2011 BTW, you can run it manually if you so desire by typing: (Tip!) Thanks...that's the info I needed. 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.