kite15 Posted February 8, 2016 Share Posted February 8, 2016 Hi, I am looking for a code by which i can save a "AutolispUsingRecord.xls" file. Please, suggest by code or process step by step. I am the beginner on this things. Needs: 1) Only Lisp related command to be listed into the xls file. 2) While save a drawing file a data will update into the said xls file automatically. 3) The count of the said command to be enlisted. Please help if any script any.... Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 8, 2016 Share Posted February 8, 2016 Why would it be necessary to track this type of information? Why not just use a keylogger that is activated when an AutoCAD session is started? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted February 8, 2016 Share Posted February 8, 2016 LISP Command Logger Quote Link to comment Share on other sites More sharing options...
kite15 Posted February 9, 2016 Author Share Posted February 9, 2016 Thanks..... Lee Mac, As i am beginner on this things can not getting any result after using the Lisp Please, suggest/instruct as step by step for the same. ReMark, Mainly some user not saying real truth, that these are helping them......So, want to find out the real fact... Thanks. Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 9, 2016 Share Posted February 9, 2016 You can find out the real facts by sitting down and having a serious discussion with your CAD techs rather than spying on them. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted February 9, 2016 Share Posted February 9, 2016 As i am beginner on this things can not getting any result after using the LispPlease, suggest/instruct as step by step for the same. Have you saved your drawing? As noted on my site in bold: The CSV Log files are only written when the drawing is saved; this ensures there is no impact on performance whilst the user is working on the drawing. Please read the program description on my site for a full understanding of how the program operates. Quote Link to comment Share on other sites More sharing options...
kite15 Posted February 10, 2016 Author Share Posted February 10, 2016 Have you saved your drawing? As noted on my site in bold: Please read the program description on my site for a full understanding of how the program operates. Its Work. Thank you very much.. Quote Link to comment Share on other sites More sharing options...
kite15 Posted February 10, 2016 Author Share Posted February 10, 2016 Hello Lee Mac, The csv file is saving as "Log_date.." Can you please guide how to save it "Username_Date.." Or The Folder name will be LISP-Logs_Username => ..........as existing.. Thanks in advance for more help! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted February 10, 2016 Share Posted February 10, 2016 The csv file is saving as "Log_date.." Can you please guide how to save it "Username_Date.." Change line 99 from: filename (strcat directory "\\Log_" (LM:Date "YYYYMODD") ".csv") to: filename (strcat directory "\\" (getvar 'loginname) "_" (LM:Date "YYYYMODD") ".csv") Quote Link to comment Share on other sites More sharing options...
kite15 Posted February 10, 2016 Author Share Posted February 10, 2016 it's awesome.. Thanks..... Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted February 10, 2016 Share Posted February 10, 2016 You're welcome - I'm pleased that you find it useful! Quote Link to comment Share on other sites More sharing options...
kite15 Posted July 20, 2016 Author Share Posted July 20, 2016 Hello Lee Mac, Can you please, advice for more update... Actully looking for monthly basis record i.e.: the date format will enter in the contain of csv file and the main csv file will be save as like June_2016 or June_2015 etc.. Thanks Quote Link to comment Share on other sites More sharing options...
Bill Tillman Posted July 20, 2016 Share Posted July 20, 2016 Hello kite15 and welcome to the best cad forum, hands-down on the planet. Lots of us fully understand the "just starting out" part and as someone who only started real LISP coding less than 5 years ago I can tell you that it takes practice, practice, practice and then even more practice. It also involves lots of reading, studying, experimenting and then more practice. There's always plenty of help here and many other forums around the Internet, but nothing beats self-tutoring. 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.