Results 1 to 4 of 4

Thread: Expand command alias functionality?

  1. #1
    Member
    Join Date
    2004-03
    Location
    Holly, Michigan
    Posts
    39
    Login to Give a bone
    0

    Question Expand command alias functionality?

    I am huge on command aliases. The less time I have to spend moving my mouse up to click an icon, the better. Also, with more command aliases I can eliminate more icons, thus freeing up more screen space. I have even gone so far as to modify the standard command aliases to be able to use them with my left hand ONLY so that I can keep my right had on the mouse as much as possible thus, maximizing my efficiency of hand movement. With all that being said, the new CUI interface has allowed me to see the great potential of using scripts to increase my drawing productivity.

    I know how to create a custom command with a script (macro) (I think that they are the same?) and assign it to a toolbar with a nice little icon. What I want to do is be able to expand the running of a script from just clicking on an icon to a command alias where I type in 1-3 letters and get the space bar to send it.

    Example. When I send the command alias for a dimension line, I want it to automatically change the layer to the dim layer. I can do this with an icon and a macro, but with command aliases I am limited to the command only without any modifiers or additional input preceding or following the command.

    I have read Lee Ambrosious' white paper on the CUI editor and have see how to create nonstandard shortcut keys. This is ok, but is limited to having to do a CTRL - (something) or using the "F" keys or the arrows keys, or the function keys above the arrow keys (INSERT, DELETE, END, etc.) Most of the "F" keys are too far away even for my large hands and the arrow keys and function keys are on the right side of the key board which would require having to take my hand off of the mouse.

    Is there a way through lisp (I have never written a lisp code) to expand the functionality of the command aliases??

    Thanks, Blaine

  2. #2
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Question Re: Expand command alias functionality?

    Quote Originally Posted by blaine.67000
    <SNIP>

    Example. When I send the command alias for a dimension line, I want it to automatically change the layer to the dim layer. I can do this with an icon and a macro, but with command aliases I am limited to the command only without any modifiers or additional input preceding or following the command.

    <SNIP>

    Is there a way through lisp (I have never written a lisp code) to expand the functionality of the command aliases??
    Hi

    Have you looked at writing small little command LISP macros? For reading your above post, I think such an option "command LISP macros" would offer you one workable solution ( unless I am completely missing the point here, very likely ).

    Have a good one, Mike

  3. #3
    Member
    Join Date
    2004-03
    Location
    Holly, Michigan
    Posts
    39
    Login to Give a bone
    0

    Default Re: Expand command alias functionality?

    I have never written a command LISP macro. I am open to anything though. Maybe you could point me in the right direction with an example or tell me where I could find some information on writing a command LISP macro?

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,077
    Login to Give a bone
    0

    Default Re: Expand command alias functionality?

    Quote Originally Posted by blaine.67000
    I have never written a command LISP macro. I am open to anything though. Maybe you could point me in the right direction with an example or tell me where I could find some information on writing a command LISP macro?
    This thread (Learning Lisp) may help you with some of your learning. There are several links within that thread to point you to resources on the net.

    You may also want to ask for some assistance in the Autolisp forum.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. Expand API printing functionality
    By revit.wishlist1942 in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2013-01-15, 03:45 AM
  2. Expand on vault functionality
    By gerrard.hickson in forum API Wish List
    Replies: 0
    Last Post: 2010-09-28, 10:14 PM
  3. Expand Functionality of MLINES
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 4
    Last Post: 2010-08-30, 08:00 PM
  4. Update and Expand Functionality of MLines
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2009-02-01, 05:14 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
  •