Jump to content
Sign in to follow this  
csousawy

Adding Publish to Vectorscripts

Recommended Posts

I'm just trying to make a couple of simple Vectorscripts to do repeated tasks in my work flow. Is there a way to make a Vectorscript that will run the Spell Check, Save, and then Publish. Or at least just Save and Publish?

Here is what I have so far:

PROCEDURE SavePublish;

BEGIN

DoMenuTextByName('Save',0) ;

DoMenuTextByName('Publish',0) ;

END;

RUN (SavePublish);

It doesn't work, but works when I change Publish to Print.

Edited by csousawy

Share this post


Link to post

The publish command is internally referenced as "Batch Print"

PROCEDURE SavePublish;

BEGIN

DoMenuTextByName('Save',0) ;

DoMenuTextByName('Batch Print',0) ;

END;

RUN (SavePublish);

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...