highrez2 Posted January 12, 2018 Share Posted January 12, 2018 I added login name and users name and todays date year/month/day and I'm not listed? ("highrez2" "me" 19730112 65) Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 13, 2018 Share Posted January 13, 2018 I added login name and users name and todays date year/month/day and I'm not listed?("highrez2" "me" 19730112 65) In this particular example, the username must be capitalised. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 13, 2018 Share Posted January 13, 2018 There is another method also (setvar "modecmacro" "Hello its you birthday all of today") Quote Link to comment Share on other sites More sharing options...
Bluebird1973 Posted January 13, 2018 Author Share Posted January 13, 2018 It runs twice and then I got this error every start-up no function definition: LM:RANDRANGE What I'm doing wrong ? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 13, 2018 Share Posted January 13, 2018 It runs twice and then I got this error every start-up no function definition: LM:RANDRANGE What I'm doing wrong ? Sorry - I've updated my earlier post: http://www.cadtutor.net/forum/showthread.php?102515-HappyBirthday.lsp-gt-Fun-vs.-prank&p=695963&viewfull=1#post695963 Quote Link to comment Share on other sites More sharing options...
Bluebird1973 Posted January 13, 2018 Author Share Posted January 13, 2018 Yes, the whole code. first I put it in the acaddoc.lsp as you wrote in the first position and than as second try to the defun-q s::STARTUP ... ... but I get this error... Then I tried it as separate HappyBirthday.lsp by drag and drop and this work. the only changes I made in your code was at his line (= 3 (LM:randrange 1 3)) ; Adding some randomness to when the message is displayed Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 13, 2018 Share Posted January 13, 2018 Please see my edited posted above ^^ Quote Link to comment Share on other sites More sharing options...
Bluebird1973 Posted January 14, 2018 Author Share Posted January 14, 2018 I tried now your updated code and the error: no function definition: LM:RANDRANGE didn't appear again. I changed the date to today and the message came 3 times up. But now it is gone for today so I opened up the Registry and searched for the set value and delete it out ... but it didn't came up again for today? What I'm doing wrong that I can't bring it up today again??? Quote Link to comment Share on other sites More sharing options...
bkartal16 Posted April 10, 2018 Share Posted April 10, 2018 hello, is it possible to change the language of spaksapi lisp? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 10, 2018 Share Posted April 10, 2018 SpeakSapi is part of windows so check out on microsoft about other languages. This is not for lisp but does show it can be done https://stackoverflow.com/questions/29747765/text-to-speech-with-sapi-custom-language Quote Link to comment Share on other sites More sharing options...
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.