Jump to content
Developer Wiki and Function Reference Links Read more... ×
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.

×