PDF save dialog missing from Macro

PDF save dialog missing from Macro

Anonymous
Not applicable
519 Views
3 Replies
Message 1 of 4

PDF save dialog missing from Macro

Anonymous
Not applicable
so this is what I have below for a menu macro I run through a right click menu in our office, there are a few but the PDF ones I am having trouble with. below takes me to the point where i get the dialog box on where to save the pdf and i click ok, however after that, the command prompts to save the configuration then to proceed (as it should)
Now if i were to include these N & Y entries in the macro, i dont get the dialog on where to save my file. so what am i missing?? I can use a pause, but then i have to enter the whole file name including drive directories etc in the command line (instead of going to the typical dialog) and that wont be appropriate in an office setting. I need ppl to be able to browse for a location.

^C^C_-PLOT;N;;1.1 A1 1 TO 1 CAD TO PDF;dwg to pdf.pc3;

Thanks for any help in advance.
0 Likes
520 Views
3 Replies
Replies (3)
Message 2 of 4

Wheelie22
Collaborator
Collaborator
You can not make a macro control a dialog box of any kind.

If you want this use the VBA sendkey command.

You can use a macro "pause" for input via the command line but not for a box !

If you want them to browse, use VBA or lsp to let them point at a dir, and use this variable (drive/path/filename) in your code.

Than you are a real programmer !


Some call macro/menu, even script/lisp and VBA a lesser scripting laguage,

C++ is the real stuff, thats what they used for acad/W and games !
0 Likes
Message 3 of 4

Anonymous
Not applicable
You either misunderstood my problem, or your wrong 🙂 i wanted the dialog box to show. anyway i worked it out in the end at the other forum. go here incase anyone ever needs it.
http://discussion.autodesk.com/forums/thread.jspa?threadID=769941
0 Likes
Message 4 of 4

Anonymous
Not applicable
How to off cmdecho ? same line or How to add that one. ?

Thanks
shanskvm
0 Likes