Page 1 of 1

Simple Save Fails

Posted: 2022-06-20 08:41:22
by hatchmo
I want to save a copy of the current document to an external drive named Alpha. My macro is

Code: Select all

Save To '/Volumes/Alpha/test1.rtf'
But Nisus Writer Pro returns this:
There was an error on Line 1.
Could not save the file.

It’s not an ownership or sandbox issue, because the drive has “Ignore ownership on this volume” checked.
Any ideas? Thanks.

Re: Simple Save Fails

Posted: 2022-06-20 12:46:26
by martin
Hi Al!

Actually this is almost certainly a sandboxing issue. Although file ownership/permissions may be turned off for your drive, that doesn't mean that macOS will let Nisus Writer do whatever it wants with files on that drive. That would be a macOS system security failure.

You'll need to adjust your macro so it accounts for sandboxing correctly. Please see a few sections of the macro guide starting here:

https://nisus.com/pro/macroref/The-Mac-Sandbox.html

Please let me know if you have any subsequent questions.

Re: Simple Save Fails

Posted: 2022-06-20 13:45:49
by hatchmo
This was a big help, Martin. Thanks.
One last question. I can't find Macro > Application > Manage Macro File Access
Apparently, I deleted some built-in macros. What's the easiest way to re-install them?
Thanks.

Re: Simple Save Fails

Posted: 2022-06-20 18:53:24
by martin
Great, glad to help! You can trigger a reinstallation of the built-in macros by using the menu Macro > Choose Macros Folder. Even if you only confirm the existing folder, Nisus Writer will ask you if you'd like copies of the default macros.

Re: Simple Save Fails

Posted: 2022-06-21 00:09:35
by hatchmo
Wonderful. That's all I needed.