Create multi-command shortcut key

Create multi-command shortcut key

Anonymous
Not applicable
544 Views
5 Replies
Message 1 of 6

Create multi-command shortcut key

Anonymous
Not applicable

Hi

 

First time and I hope you can help

 

I have created an EPDF shortcut key linked to F12 which opens the Export PDF 'save to' window. Is it possible to add two more commands to this string in the shortcut editor?

1. Enter  - (to save to the default location offered)

2. Close drawing

 

I have no experience in coding in Autocad so any help would be very gratefully received

 

Regards

Brian

0 Likes
545 Views
5 Replies
Replies (5)
Message 2 of 6

pendean
Community Legend
Community Legend
If there is a pop-up involved you cannot automate responses to continue as you wish.

But did you know you can PLOT to PDF instead? Give it a try at the commandline with -PLOT command and see if that works for you, then someone here can help you write it out as a macro.
0 Likes
Message 3 of 6

Anonymous
Not applicable

Thank you for the response.

 

However if I open the Plot window I still need to press 'Ok' (Enter) to run the plot. Is this not the same issue as you mentioned before?

0 Likes
Message 4 of 6

pendean
Community Legend
Community Legend
-PLOT command has a dash in the name, like I wrote: that's different from PLOT.
Pay close attention to dashes and dots, these are not typos.

0 Likes
Message 5 of 6

Anonymous
Not applicable

Many Thanks.

 

-PLOT brings up more command line queries - I have no idea how to continue - all I need is what I thought would be a simple macro. I just need an exported pdf of the drawing but I have 100's of drawings.

 

This is the first time in 20+ years I am using a command line driven program - thought I had seen the last of this when DOS got replace with a GUI 🙂 Am having to use AutoCad because client insists on it. I fear I will have to bin it and go back to my other vector based programs.

0 Likes
Message 6 of 6

pendean
Community Legend
Community Legend
>>>...20+ years I am using a command line driven program...<<<
You asked about customization, I showed you how to learn to do that at the commandline. Maybe that's too much for you, not a problem. You can always go back to EXPORT or PLOT commands to create your PDFs using pop-ups as much as you want.

>>>...I just need an exported pdf of the drawing but I have 100's of drawings....<<<
Now you explain more about a challenge you wish to address: PUBLISH command can do that if your AutoCAD files are set up for it: give it a try.

>>>...and go back to my other vector based programs...<<<
Whatever you need to do to get your task done for your clients, no one here is judging.
0 Likes