Solved

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

Posted on 2007-03-27
8
1,635 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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!…
The following article will describe how to add/edit a dimension style through AutoCAD VBA. AutoCAD VBA has its quirks and when it comes to dimensions and controlling how they look through VBA.  This is where AutoCAD can be vividly confusing. The…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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