View Full Version : custom buttons
chrisdarmanin
21st Apr 2008, 08:43 am
can i create a keyboard shortcut to a custom button? not like ctrl+ any button, something like an autocad command
Alan Cullen
21st Apr 2008, 08:48 am
Chris, do you actually want to create a button and apply a command macro to it?
The short answer is yes you can. We have about 5 FAQs on how to do it, but none of them have been finalised yet. But I can post them here if you want....
chrisdarmanin
21st Apr 2008, 08:54 am
command macro? whats that?
i made a new toolbar with a button on it where i edited the macro to make it do what i want.
what i would like to know is if i can make a shortcut to the button, just like adding a shortcut to a command in the .pgp file
Alan Cullen
21st Apr 2008, 09:02 am
I guess you could do that, but why not just go straight to a command alias, or whatever they're called. I've never done it, but am interested to see if it's possible. :lol:
Tiger
21st Apr 2008, 09:32 am
This is just thinking aloud, but what if you make the button a Lisp file instead... if that is possible. Then you can use the command line to start the lisp.
Just a thought...
chrisdarmanin
21st Apr 2008, 09:34 am
i would but i barely know lisp :D
Tiger
21st Apr 2008, 09:35 am
i would but i barely know lisp :D
ah well, that's where I fall short as well...and that's why Papa Alan is here :wink:
Alan Cullen
21st Apr 2008, 09:44 am
Papa Alan???
You're in one of those moods again tonight, aren't you, mate. :P
Yeah, I guess that could be done, but if you go that way, why even bother with a button to start with? :lol:
chrisdarmanin
21st Apr 2008, 10:08 am
because i was trying to take the easy way out :D
dbroada
21st Apr 2008, 10:08 am
If I'm reading this correctly you don't need a way to activate a button, you need a way of activating the same command that the button would invoke. Which brings us back to writing a few LISP routines.
Alan Cullen
21st Apr 2008, 10:16 am
Exactly, thank's Dave. :lol:
Papa Alan reporting for duty......:P
Tell me what you want, Chris, I'll see what I can come up with. :lol: :twisted:
chrisdarmanin
21st Apr 2008, 10:41 am
its simple really,
purge all through the command line (to remove defpoints)
purge regapps
zoom extents
save
that's what i have thought of until now... i wanted one command to reduce time typing and clicking my way around
if you think of anything else feel free to suggest :D
ps. i need to learn lisp, i'll be more independent :lol::lol:
Alan Cullen
22nd Apr 2008, 05:48 am
Chris, can you tell me what you would normally type on the command line to achieve all that. Just gives me a better idea how to set the lisp up.
Ritch7
22nd Apr 2008, 03:54 pm
why would you want to create custom buttons /macro etc etc for whatever usage?
anything you wish to do in a quick way use a lisp routine if its a process
LCE
22nd Apr 2008, 04:12 pm
why would you want to create custom buttons /macro etc etc for whatever usage?
anything you wish to do in a quick way use a lisp routine if its a process
Or (dot) Net. Yes I am pushing it hard because you can work some real magic with it. I will tidy up some of my projects and post for all to see.
Ritch7
22nd Apr 2008, 04:14 pm
Or (dot) Net. Yes I am pushing it hard because you can work some real magic with it. I will tidy up some of my projects and post for all to see.
oh my goodness you and your . NET lol well hurry up and show me i dont know to much about it, post some of your wonderful projects for my humble eyes to glance at
LCE
22nd Apr 2008, 04:37 pm
I will try and get some tidied tonight, and I will post tomorrow. They will be exe files though that you will need to install.
Ritch7
22nd Apr 2008, 04:39 pm
I will try and get some tidied tonight, and I will post tomorrow. They will be exe files though that you will need to install.
ok brilliant i am looking forward to it :D
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.