roconnor60 Posted July 21, 2008 Share Posted July 21, 2008 Hi, I am trying to create a simple print to PDF and export to dwg vectorscript using the default print settings of the file - without much success! Does anyone have a similar script that I could use and edit? Thanks Ronan Quote Link to comment
Pat Stanford Posted July 21, 2008 Share Posted July 21, 2008 I think this was looked at a few weeks ago and "We" (as a group) decided that there is no way to access the PDF functions via VS. The following was posted to the VectorScript List by Charles Chandler: Ordinarily, for plug-ins you use the filename (minus the extension), as determined by looking in the Plug-Ins folder: DoMenuTextByName(?Batch Print?, 0); DoMenuTextByName(?Export PDF (Batch)?, 0); For features that are not plug-ins, you have to use the DoMenuTextByName selectors, as found in the VectorScript Appendix: http://scs-inc.us/Other/VSFR/Appendix/appendix.html I?m not seeing ?Export PDF? in the Plug-Ins folder, or in the DoMenuTextByName constants, so there?s no way to call that one. The other two ?should? be callable. But in a quick test, I can?t get either ?Batch Print? or ?Export PDF (Batch)? to work, though I can call other VectorScript menu commands. So I don?t know what to tell you, expect that you?re probably out of luck. Sorry. You should be able to do the DWG export using the DoMenuTextByName('DXF/DWG Export',0); command. Pat Quote Link to comment
maarten. Posted July 22, 2008 Share Posted July 22, 2008 I've requested it here. Let's hope it will be included quickly! I have a plug in that updates some information in the drawing when the user chooses to print, but i can't make it to do the same when the user wants to export to PDF cause it's not included in VS... Quote Link to comment
roconnor60 Posted July 22, 2008 Author Share Posted July 22, 2008 This might be a very basic question but I have a batch runner in applescript and I am trying to include a simple print vectorscript for a selection of vw files. The applescript works fine but it breaks down when it tries to run the vs. Does anyone have a very basic print file script that I can test out? Thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.