PDA

View Full Version : CAP Locks on when attribute edit box opened.



jlogan02
2017-12-06, 05:05 PM
Is there a way to set a reactor, not that I know anything about reactors, to turn cap locks on if the attribute edit dialog is opened?

J. Logan
ACAD 2016

BlackBox
2017-12-06, 06:12 PM
Give this thread a look; I can update it if you'd like:

https://www.theswamp.org/index.php?topic=41461.0


Cheers

jlogan02
2017-12-07, 01:13 AM
Thanks for the lead. I'll check it out.

J. Logan

jlogan02
2017-12-07, 05:03 PM
Having a bit of trouble here. I've copied the code to a .txt file on my hard drive. How do I save it to a usable file in ACAD? I'm guessing saveas in Visual Studio or .NET.

BlackBox
2017-12-07, 05:42 PM
Having a bit of trouble here. I've copied the code to a .txt file on my hard drive. How do I save it to a usable file in ACAD? I'm guessing saveas in Visual Studio or .NET.

.NET code has to be compiled using an IDE such as Visual Studio, and built to a specific .NET Framework version.

At the bottom of post #20 in the above linked thread are two .NET assemblies, LispKeys2010.dll and LispKeys2013.dll, which are named for the DWG Database (format) they support. Since you're using AutoCAD 2016 (2013 DWG format), you'd want to download the latter to a local folder, to test using the NETLOAD Command. I've just downloaded same and can load & use it in my 2016 install here.

If/when you want to set it up to auto-load, I can help with that as well, just make sure it works for you first.


Cheers

jlogan02
2017-12-07, 08:36 PM
I wasn't logged in so I wasn't seeing the downloads.

Brilliant! I was able to load, run and use the ReactorCapsLock.lsp Tim Spangler put together with the LispKeys2013.dll.

I was also successful in Auto loading the files. Thanks for the work on these and pointing them out to me.

J. Logan
Acad 2016

BlackBox
2017-12-07, 09:01 PM
I wasn't logged in so I wasn't seeing the downloads.

Brilliant! I was able to load, run and use the ReactorCapsLock.lsp Tim Spangler put together with the LispKeys2013.dll.

I was also successful in Auto loading the files. Thanks for the work on these and pointing them out to me.


No worries; happy to help. :beer:

Cheers

montyLalor
2017-12-16, 01:53 AM
Hi,

I've achieved a Caps Lock solution using a AutoHotKey script that I've thrown a shortcut into my Windows Start folder. It has a global CAPS ON setting for AutoCAD, Notepad and Excel. It also has an annotation window specific CAPS ON for specified windows within Inventor that could be manipulated to give a solution to AutoCAD, since I'm guessing you would like to have CAPS off and ON in AutoCAD at particular scenario points (like I do in Inventor).

I'd be happy to share the file if anyone would like a copy.

Merry Christmas!
Luke

jlogan02
2017-12-22, 06:57 PM
Thanks Luke, but the solution Bbox and Tim Spangler worked up is exactly what I was looking for. Now all I have to do is get my fingers to type ATE at the command line rather than TED and all is good. Damn it's hard to break some habits.

cadd4la
2018-01-09, 09:07 PM
Blackbox,

Will the LispKeys2013.dll version run in Autocad 2018?

Thanks,

BlackBox
2018-01-09, 09:26 PM
Will the LispKeys2013.dll version run in Autocad 2018?


Yes it will, actually - wasn't sure, so I just tested it in Civil 3D 2018, and it works fine - the Load message is outdated, but the CAPSLOCK LispFunction Method successfully loads and functions in 2018.

Cheers
106011