Search found 10 matches
- 2015-04-18 16:33:55
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
Re: How to program Merge Document options
Does Nisus macro language have commands like 'substitute' that can do the work of the 'merge' command. I'm not getting a warm and fuzzy feeling from trying to do the Merge command via the macro lines. Alternatively, I can just have the Merge command in the macro always merge to the same folder and t...
- 2015-04-18 16:03:18
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
Re: How to program Merge Document options
The latest instructions from Nisus seems to have overcome the permissions issue. Permission is granted for any folder and all nested subfolders and is sticky. However, the Merge command doesn't seem to work properly. It merges but seems to ignore the path settings that are placed in the dialog box b...
- 2015-04-17 23:02:37
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
Re: How to program Merge Document options
After making some progress, I wrote a Filemaker script to programmatically set the docName and docPath variables and kickoff the applescript. Now I'm getting an error from Nisus that it could not access the template .rtf document because 'permission was denied'. NSCocoaErrorDomain - code 257. Is thi...
- 2015-04-17 20:12:54
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
Re: How to program Merge Document options
It was a typo - you were correct in your suspicion. Here's what I have for the applescript: tell application "Nisus Writer Pro" set docName to "LC IDS filed" set docPath to "TU Delft/0005/IDS" Do Menu Macro with macro "Macro.run 'traction-macro', Hash.new('docName'...
- 2015-04-17 15:56:02
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
Re: How to program Merge Document options
I tried doing this as an applescript but got this error.
-----
There was an error on line 1 in the macro "Unsaved Script"
Unknown menu item path:
traction-merge
-------
Not sure where unsaved script came from. The script is called something else and it's saved.
-----
There was an error on line 1 in the macro "Unsaved Script"
Unknown menu item path:
traction-merge
-------
Not sure where unsaved script came from. The script is called something else and it's saved.
- 2015-04-15 20:43:56
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
Re: How to program Merge Document options
Thanks for posting the code. I see now how to overcome the lack of dialog options in Nisus by just directing text input into the boxes and tabbing, etc. as if you're doing it manually. I actually went a bit further. I was able to run the macro in a blank doc, and the macro opened the template doc, f...
- 2015-04-15 08:05:57
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
Re: How to program Merge Document options
phspaelti - thanks for the response. I was hoping that wasn't the answer but I had the sinking feeling that was it. I'm actually trying to automate the assembly of different types of documents using data from FilemakerPro that kicks off the process. I've got a battery of template docs that are assem...
- 2015-04-13 22:55:58
- Forum: Nisus Writer Pro Macros
- Topic: How to program Merge Document options
- Replies: 14
- Views: 25307
How to program Merge Document options
If there a way to programmatically provide the options for the Merge Document command dialog box? I guess this is a general question for other commands that have option dialog boxes.
- 2015-04-13 22:03:46
- Forum: Nisus Writer Pro
- Topic: CSV Merge fails: "unexpected delim" err (Can Nisus Respond?)
- Replies: 4
- Views: 5028
Re: CSV Merge fails: "unexpected delim" err (Can Nisus Respo
As the original poster I can confirm that the problem of reading CSV files has been fixed in the 2.1.1 beta release. Thanks to Nisus for the fast response and bug elimination.
- 2015-03-30 08:15:29
- Forum: Nisus Writer Pro
- Topic: CSV Merge fails: "unexpected delim" err (Can Nisus Respond?)
- Replies: 4
- Views: 5028
CSV Merge fails: "unexpected delim" err (Can Nisus Respond?)
I'm trying to merge a data document with a template document and Nisus is coming back with an error shown below. I tracked the problem to the double quotes in the CSV file. When no quotes at all are used, it merges OK, but when a value is wrapped in double straight quotes, it bombs. My values have c...