Author Topic: Assigning lisp to function keys.  (Read 3392 times)

0 Members and 1 Guest are viewing this topic.

hudster

  • Gator
  • Posts: 2848
Assigning lisp to function keys.
« on: April 01, 2005, 04:56:58 AM »
Is there a way I can assign a lisp to one of the function keys eg. F4?
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Assigning lisp to function keys.
« Reply #1 on: April 01, 2005, 06:05:23 AM »
Yes. Under ***ACCELERATORS in your custom .mns file.

Code: [Select]

["F4"]^C^C<cmd name of lisp app>;
TheSwamp.org  (serving the CAD community since 2003)

hudster

  • Gator
  • Posts: 2848
Assigning lisp to function keys.
« Reply #2 on: April 01, 2005, 08:06:35 AM »
cool thanks.  I changed my F4 so that it toggles my properties dialogue box.

Code: [Select]
***ACCELERATORS
["F4"]$M=$(if,$(and,$(>,$(getvar,opmstate),0)),^C^C_propertiesclose,^C^C_properties)  
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

CADaver

  • Guest
Assigning lisp to function keys.
« Reply #3 on: April 01, 2005, 08:29:59 AM »
ummm... did you know that CTRL+1 will toggle the properties box?

hudster

  • Gator
  • Posts: 2848
Assigning lisp to function keys.
« Reply #4 on: April 01, 2005, 08:48:55 AM »
Yeah but now I have to push 1 less button.

Time and energy saving 8)
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

JohnK

  • Administrator
  • Seagull
  • Posts: 10648
Assigning lisp to function keys.
« Reply #5 on: April 01, 2005, 08:52:40 AM »
...Did you know that Ctrl+{number} will jump to that tab? So if you have three tabs open and you press Ctrl+2 you will be on the middle tab.

(Sorry, i dont know why i said that, but...)
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

CADaver

  • Guest
Assigning lisp to function keys.
« Reply #6 on: April 01, 2005, 09:19:27 AM »
Necessity is NOT the "Mother of Invention", never has been.  Lazy is. :lol:

ronjonp

  • Needs a day job
  • Posts: 7529
Assigning lisp to function keys.
« Reply #7 on: April 01, 2005, 09:45:10 AM »
Quote
Necessity is NOT the "Mother of Invention", never has been. Lazy is.


HEAR YE HEAR YE  :D  I've always said my laziness is my fuel.
 :lol:

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC