Jump to content

Oppresetload With Spaces In Preset Name.


Gordon

Recommended Posts

Simple enough question, how does one go about loading an operator preset if the preset name has spaces in it?

If I try for example;

oppresetload $node Preset With Space In It

I get invalid usage, if I try;

oppresetload $node "Preset With Space In It"

I get, quite bizarrely;

Error: Missing Token "{"

Any ideas? Besides not using spaces in the preset names, which would have been my choice in the first place, but sadly the ship's pretty much sailed on that one.

Cheers.

Link to comment
Share on other sites

Just put a space between double quotes :

oppresetload myop my" "preset.

Yep, that did it, thanks.

I wish these things hadn't had spaces in the names, ideally I'd grab the name of the preset by string matching with the pass I'm trying to update, but unfortunatley grabbing oppresetls returns 16 args instead of 4 (4 strings of 4 spaced sets)...

Link to comment
Share on other sites

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.   Paste as plain text instead

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