Jump to content
Developer Wiki and Function Reference Links ×

Starting VW -> directly reading in a file?


FabianMohr

Recommended Posts

Hello.

I would like to know if it is possible to launch vektorworks with a parameter to imediatly read in a file and convert the data into variables to use them in a vectorscript (which doesnt have to be load imediatly, but if it is neccessary it would be fine aswell).

thanks in regards,

Fabian Mohr

Link to comment
  • 2 weeks later...

In our more security conscious world the trend is away from embedded executables and toward secure User/root permissions with trusted certificates. The OS utilizes an application like Finder which is specifically constrained to a sandbox and precluded from executing executables with embedded macros without User defined permissions.

Hence the idea of using VW as a front-end to execute code " with a parameter to immediately read in a file and convert the data into variables" is specifically prohibited because it violates required User privileges ( Vectorscript is NOT a User ).

Imagine ... under Win95 a script process could launch Excel-Word or Outlook processes which could then use macros to access your harddrive or the network without your knowledge or permission ( ditto for the Print processes ).**

**Many Users have complained about the 'default' window at VW launch , but that window serves as a sandbox which precludes malicious 'macro-type scripts, because all Vectorscript Procedures address the active window container.

Link to comment

VW requires the registered User to select a script and then to activate the script from within the program based on various parameters associated with the functions. The Workspace Editor assists with the GUI interface. User created Templates provide overall Preferential parametric consistency to any level of sophistication.

Why not just use the Template Module for each initial set-up? Templates can even have scripts included.

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...