Simple Save Fails

Get help using and writing Nisus Writer Pro macros.
Post Reply
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

Simple Save Fails

Post 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.
Al Hatch
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Simple Save Fails

Post 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.
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

Re: Simple Save Fails

Post 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.
Al Hatch
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Simple Save Fails

Post 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.
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

Re: Simple Save Fails

Post by hatchmo »

Wonderful. That's all I needed.
Al Hatch
Post Reply