Jump to content
Bluebird1973

HappyBirthday.lsp ==>Fun vs. prank

Recommended Posts

highrez2

I added login name and users name and todays date year/month/day and I'm not listed?

("highrez2" "me" 19730112 65)

Share this post


Link to post
Share on other sites
Lee Mac
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.

Share this post


Link to post
Share on other sites
BIGAL

There is another method also

(setvar "modecmacro" "Hello its you birthday all of today")

Share this post


Link to post
Share on other sites
Bluebird1973

It runs twice and then I got this error every start-up

 

no function definition: LM:RANDRANGE

 

What I'm doing wrong ?

Share this post


Link to post
Share on other sites
Bluebird1973

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

Share this post


Link to post
Share on other sites
Lee Mac

Please see my edited posted above ^^

Share this post


Link to post
Share on other sites
Bluebird1973

I tried now your updated code and the error:

 

no function definition: LM:RANDRANGE

 

didn't appear again. :D

 

 

I changed the date to today and the message came 3 times up.

But now it is gone for today :cry:

 

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???

14-01-2018 10-52-30.jpg

Share this post


Link to post
Share on other sites
bkartal16

hello,

 

is it possible to change the language of spaksapi lisp?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×