Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Key bindings
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Key bindings (Read 3275 times)
0 Members and 1 Guest are viewing this topic.
hudster
Gator
Posts: 2848
Key bindings
«
on:
February 17, 2004, 04:53:17 AM »
I want to write a lisp routing that uses the F12 key to open a drawing, bind it, purge it, dwf it and then close it.
How do I define the F12 key? do I write "F12" or is there a special code for it?
I hope this makes sense.
Logged
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue
hyposmurf
Guest
Key bindings
«
Reply #1 on:
February 17, 2004, 08:05:36 AM »
Why not use a macro for the commands and assign to the F12 key via you accelerator keys.
Logged
CADaver
Guest
Key bindings
«
Reply #2 on:
February 17, 2004, 08:21:16 AM »
Function keys are modified in the ***ACCELERATORS portion of the MNS/MNU.
The format is:
["F12"]<whatevermacroyouwanttorun>
~~~~~~~~~~
but
~~~~~~~~~~
If you want it to run automatically, I'd suggest wrting a lisp function in your ACAD.lsp that does what you wish. I'm not familiar with DWF, but the rest is relatively easy to program.
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Key bindings