Wednesday, December 19, 2007

Change the title of your AutoCAD application

I got an email the other day asking if I still had this code around. Yes it is. Why is it useful. One reason is that you might want to take snapshots without the text "NOT FOR RESALE". Another is that you want to brag about having AutoCAD 2009 a few months earlier than the most or just play a prank.

Here is what it look like before running the command.
It says AutoCAD 2008 - NOT FOR RESALE.

AutoCAD 2008

After running the command JTB_SetTitleBarAutoCAD2009 based on the code found on my website it look like this and says AutoCAD 2009.

 AutoCAD 2009

I modified JTB_TitleBar.lsp to this:

(defun c:JTB_SetTitleBarAutoCAD2009() (vl-load-com) (setq JTB_TitleBar "AutoCAD 2009") (vl-vbarun "C:/JTB World/JTB_TitleBar2005.dvb!JTB_TitleBar") (princ) )

1 comment:

  1. Restored comment

    iam_doss said...

    Hi Jimmy, have you tried JTB_TitleBar2005.dvb in AutoCAD 2008 64 bits? I have problems here but it runs fine under 32 bits
    December 19, 2007
    JTB World said...

    I don't have access to a 64-bit machine so I don't know what it is. It used the VL.Application interface in VBA as well as the GetActiveWindow and SetWindowText libs from user32. If you contact me directly I can send you a test version and we can see if we can get it running on 64-bit.
    December 19, 2007
    MacDream said...

    It is possible to use one of these utilities to hide the title bar completely?
    Just like in Clean View feature (ACAD 2008), but with all the tool bars.
    Thank you!
    January 22, 2008
    JTB World said...

    macdream, it's not possible with this utility even though it's probably possible to do one way or the other.
    January 22, 2008


Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.