Solved

How to program Logitech MX-1000 mouse buttons for Autocad use

Posted on 2007-03-27
8
1,491 Views
Last Modified: 2013-12-09
Hi experts,
I am an architect who spends alot of time drafting in Autocad 2007, so I thought I might increase my productivity by switching to a specialized mouse.  After doing some research I recently bought the Logitech MX-1000 (http://shopping.yahoo.com/p:Logitech%20MX%201000%20Pointing%20Device:1991571042;_ylt=Ama7vUdQ6i14Tssdy.gbB.obFt0A;_ylu=X3oDMTBic2hxMGNhBGx0AzQEc2VjA3Ny?clink=dmps/logitech_mx_1000/ctx=mid:5,pid:1991571042,pdid:5,pos:1,spc:14489115,date:20070327,srch:kw,x:) and now I am trying to tweak it with Autocad.  

The mouse comes with software that allows me to "program" all six of its buttons to one of 6 or 7 different options.  The one i'm interested in is using the extra mouse buttons to simulate keystrokes that I make in Autocad.  For instance, I type the keys "C" + "O" + enter to copy a line while i'm in Autocad.  The problem is that the Logitech software only allows me assign one alphanumeric keystroke to a button or to assign a combination of function keys.  For example, I can assign the keystrokes ctrl+alt+4 or alt+del and so on, but if I'm starting with letters, such as my "C" + "0" command, I am only allowed to use one keystroke.  

I hope this is making sense so far.

So to get more to the point, I am wondering if there is some way I can assign a function key combination to do an autocad command like copy object or move object, etc.  For example, could I make the keystroke combination ctrl+alt+5 perform the copy object command in Autocad?  This way I'd be able to assign that combination to the mouse button in the Logitech software and it will copy objects in CAD when I press it.  I've heard macros may be a solution to this, but I honestly have no idea where to start with them.  

Well I hope this isn't an overly confusing post...I'm looking forward to hearing any suggestions you guys have, and I thank you so much in advance for your time and help.

-Curt
0
Comment
Question by:cfrericks
  • 4
  • 4
8 Comments
 
LVL 7

Accepted Solution

by:
techn125 earned 250 total points
ID: 18807557
You could always modify the commands aliases in the Acad.pgp file so that commands invoked by a letter (like Copy=c) will be invoked by a number (copy = 1), allowing you to use the multi-stroke of your mouse software.

The Acad.pgp file is there:
C:\Documents and Settings\*username*\Application Data\Autodesk\AutoCAD 2006\R16.2\enu\Support
0
 

Author Comment

by:cfrericks
ID: 18808096
Do you know how I can assign a control key alias in the Acad.pgp file?  For example, I'd like to assign the keystrokes ctrl+alt+5 to the copy object command.  The reason I want to do this is because the mouse software allows button functions to perform multiple keystrokes at once only if it starts with the ctrl key.  So this way I could assign the keystrokes ctrl+alt+5+enter to a mouse button in the Logitech software, and then I wouldn't have to press enter in Autocad after pressing the mouse button.  It would do it all at once.
If I made a copy=C alias then I would be able to assign "C" to a mouse button and pressing the button would type the letter "C", but wouldn't press enter to execute the command.  

0
 
LVL 7

Expert Comment

by:techn125
ID: 18808316
I have an idea on how this could work, but i'll have to get back at you later today :o/
In the meanwhile, what version of autocad is used? I'm puzzled by why you have to enter 'O' to copy objects after invoking the copy command hehe
0
 

Author Comment

by:cfrericks
ID: 18808375
oh ha...yea I guess I can just enter "C". i'm on 2007, but I've been using cad since the 2002 release and got used to typing C + O.  
Well thanks for your time and help...I'm looking forward to getting this mouse to function the way I had intended.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 7

Expert Comment

by:techn125
ID: 18811362
I tried different things, looks like Autocad don't let you use CTRL or ALT in creating aliases or new commands, probably because its hardcoded for dialog windows accessing for CTRL and Menu accessing for Alt.

I'm still trying to find something...the simplest macro would be "c;" (without the quote) just need to assign that to the button...
0
 

Author Comment

by:cfrericks
ID: 18811537
yea, I had a feeling that might be the case.  I'm thinking of maybe assigning "enter" to one of the buttons and seeing how that works out.  I'm gonna play around with it tonight and see how it goes.  I'll keep you updated.  Thanks for the help thus far.
0
 

Author Comment

by:cfrericks
ID: 18816442
I assigned the enter keystroke to one of the middle buttons and i'm finally satisfied with the setup.  Thanks so much for your help!
0
 
LVL 7

Expert Comment

by:techn125
ID: 18817421
My pleasure!
Looks like you figured out by yourself for the most of it anyway hehe
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Well I am not sure whether i deserve anything (credit or points) for this article, since I have not written the source code but discovered the same while browsing the net. I only wish to help EE users save some money and probably help the environmen…
If, like me, you find yourself repeatedly and tediously joining many segments (lines, arcs) in other people's drawings back into polylines that can be used more effectively in Computer Aided Machining and Laser Cutting, then this article is for you!…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now