Jump to content

Creating print PDF and export DWG vectorscript


Recommended Posts

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

Link to comment

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...