Gordon Posted August 2, 2006 Share Posted August 2, 2006 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. Quote Link to comment Share on other sites More sharing options...
peliosis Posted August 2, 2006 Share Posted August 2, 2006 Just put a space between double quotes : oppresetload myop my" "preset. Quote Link to comment Share on other sites More sharing options...
Gordon Posted August 2, 2006 Author Share Posted August 2, 2006 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)... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.