Jump to content

VectorScript to switch background to white


Recommended Posts

With all the boolean preferences you can use a one line script as follows:

SetPref(16, not GetPref(16)); { Black Bkgnd }

This will toggle the current value of the preference to the opposite value. Click on it again, and it toggles back. I use the following a lot

SetPref(9, not GetPref(9)); { ZLT }

to toggle the ZERO LINE THICKNESS preference on and off.

You can find the Preference numbers listed in a table at:

VectorScript Reference - Appendix

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