Results 1 to 10 of 10

Thread: Creating shortcut keys

  1. #1
    Member
    Join Date
    2007-04
    Posts
    13
    Login to Give a bone
    0

    Default Creating shortcut keys

    There are built-in commands, such as Line, Move, Circle etc, that use a letter and the space bar to start the command. Yet, the CUI won't allow me to use the space bar or "alt" when I'm trying to create a new keyboard shorcut. No problem using "Shift", Ctrl" or "Ctrl+Shift". Is this normal, or is there a way I can create my own keyboard shortcut with the spacebar?

    Thanks.

    Jeff

  2. #2
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    You edit the ACAD.PGP file for these, use something like Notepad. Or to make life slightly simpler - use the Express Tools: Alias Editor if you've got Express Tools installed. From the AutoCAD menu: Express --> Tools --> Command Alias Editor...

  3. #3
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    Quote Originally Posted by Jeff Lyon View Post
    There are built-in commands, such as Line, Move, Circle etc, that use a letter and the space bar to start the command. Yet, the CUI won't allow me to use the space bar or "alt" when I'm trying to create a new keyboard shorcut. No problem using "Shift", Ctrl" or "Ctrl+Shift". Is this normal, or is there a way I can create my own keyboard shortcut with the spacebar?

    Thanks.

    Jeff
    Just FYI, (since the question has been answered) the things that you are referring to are called "aliases"; "L" is an alias for LINE, etc..

  4. #4
    Member
    Join Date
    2007-04
    Posts
    13
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    That helps. Thanks a lot.

    Jeff

  5. #5
    Member
    Join Date
    2006-06
    Location
    KY
    Posts
    17
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    OK,

    I know Z - *Zoom (is to zoom)
    I want ZZ to be Zoom-Previous but I cant figure out what would go after ZZ. What would it be?

    ZZ-*ZoomPrev ?

  6. #6
    Wish List Manager BrenBren's Avatar
    Join Date
    2000-11
    Location
    150700
    Posts
    3,439
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    Quote Originally Posted by precision View Post
    OK,

    I know Z - *Zoom (is to zoom)
    I want ZZ to be Zoom-Previous but I cant figure out what would go after ZZ. What would it be?

    ZZ-*ZoomPrev ?
    Can't do it. The PGP file, and it's associated aliases will only allow for single step commands to be recorded.

    You would need to do some LSP for this, but since this is LT (I'm assuming), that won't hel you.

  7. #7
    Member
    Join Date
    2006-06
    Location
    KY
    Posts
    17
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    I guess you cant do it in LT2007. You used to be able to in earlier versions. I used to have ZZ set to Zoom Previous. But maybe that was with full blown ACAD. I cant remember.

  8. #8
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    The PGP only maps aliases to commands, not commands with extra parameters. There's
    probably a few ways of getting this working though. One I can think of is to use LISP:
    1. Find the ACAD.LSP file. If it doesn't exist create one (using notepad or some such) in one of the folders in your support path.
    2. Add the following code to this file.
      Code:
      (defun c:ZZ (/) (command "_zoom" "p"))
    3. Restart AutoCAD.

    However, this will only work if you've got something like LT Toolkit installed. Or some other addon to LT to allow running LISP.

    The current alias for zoom previous is not that much more typing: instead of the 3 keys you propose (Z Z [space]), it's 4 keys - Z [space] P [space] - although the Z and P is at different sides of the keyboard.
    Last edited by irneb; 2008-02-08 at 04:29 AM.

  9. #9
    Member
    Join Date
    2006-06
    Location
    KY
    Posts
    17
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    The current alias for zoom previous is not that much more typing: instead of the 3 keys you propose (Z Z [space]), it's 4 keys - Z [space] P [space] - although the Z and P is at different sides of the keyboard.

    I dont have any add ons for the LT Im using. I do use Z [space] P [space]. Im just getting lazy in my old age and dont want to go up after that P .

  10. #10
    Wish List Manager BrenBren's Avatar
    Join Date
    2000-11
    Location
    150700
    Posts
    3,439
    Login to Give a bone
    0

    Default Re: Creating shortcut keys

    Quote Originally Posted by precision View Post
    The current alias for zoom previous is not that much more typing: instead of the 3 keys you propose (Z Z [space]), it's 4 keys - Z [space] P [space] - although the Z and P is at different sides of the keyboard.

    I dont have any add ons for the LT Im using. I do use Z [space] P [space]. Im just getting lazy in my old age and dont want to go up after that P .
    You could make a toolbar button for Zoom Previous in LT2007.

Similar Threads

  1. Shortcut keys
    By Wish List System in forum NavisWorks - Wish List
    Replies: 6
    Last Post: 2017-08-17, 10:52 PM
  2. Shortcut Keys
    By daniel.rushton in forum AutoCAD Customization
    Replies: 2
    Last Post: 2009-05-10, 11:12 PM
  3. Shortcut Keys for Number Pad
    By jabamax in forum AutoCAD CUI Menus
    Replies: 3
    Last Post: 2008-05-30, 02:59 PM
  4. Keyboard Shortcut Keys
    By Shizzjr in forum AutoCAD General
    Replies: 3
    Last Post: 2008-02-22, 01:34 PM
  5. Create own Shortcut Keys
    By basha_sk312 in forum AutoCAD CUI Menus
    Replies: 2
    Last Post: 2006-03-15, 08:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •