I use NWP and Bookens 10. I am trying to use the NWP macro for Bookends, but receive this message when I launch it. In French: Erreur à la ligne 1 de la macro "Script non enregistré". Chemin d'accès à l'objet du menu inconnu: Edit: Select All".
??? In English translation : Error at the 1 line of the macro: "script non saved". Access to menu object unknown: Edit:Select All".

Can anyone help me? I know anything about macro and absolutely need this to work.

Thank you

2007-10-21 04:24:36

mrennie

Joined: 2004-11-10 07:31:31Posts: 173

My guess would be that the macro does not work because it is written in English while the application is in French. The error message tells you that the macro cannot perform "Edit : Select All", and that command is indeed not in the French version of Nisus Writer Pro. Instead, you will need to modify the macro (click on Macro>Open Macro Folder, then open the macro) by replacing "Edit : Select All" with "Édition : Tout sélectionner".

Keep in mind that this is only a guess, and make sure to try this modification on a copy of the macro first; if it still doesn't work. post back, and I'm sure someone more knowledgeable than me will take over.

2007-10-21 12:22:01

Sylphe

Joined: 2007-10-21 04:17:06Posts: 8

Thank you very much for your advises... I tried it, and it seems to be better, but there is another problem. I modified the macro with french words, all seems to work except at the end: Bookends scans, and is making formatting, but when a new doc must be open with the scanned references, I get this message:
Erreur à la ligne 1 de la macro "Script non enregistré": Chemin d'accès à l'objet du menu inconnu... so as before "way to objetc menu unknown", but now with:
File:New
Edit:Paste:Paste.
I thought to do the same as before, but I do not have this text in the macro... where could it be?

2007-10-22 04:33:33

Sylphe

Joined: 2007-10-21 04:17:06Posts: 8

Just having posted the last message, I have tried to complete the macro with french language... It seems to work!
I always have the same error message (File:New and Edit:Paste/paste), but I get a new doc with the scanned references. It is my first macro...
Thank very much for you kind help!

Now I would like to avoid this eror message, so if you have an idea?

2007-10-22 04:36:16

mrennie

Joined: 2004-11-10 07:31:31Posts: 173

I'm not familiar with the Bookends macro, but is there any kind of reference to "File:New" and "Edit:Paste/paste" in the macro? I guess there must be, and once again, this error message is caused by the fact that the macro is in English while the application is in French. Open the macro, then change "File:New" to "Fichier:Nouveau", and "Edit:Paste/paste" to "Édition:Coller/coller". Hope this helps!

2007-10-22 06:31:58

martin

Official Nisus Person

Joined: 2002-07-11 17:14:10Posts: 4251Location: San Diego, CA

The untranslated menu commands may be inside the Bookends application itself. If I understand the situation correctly, you've translated this macro that comes with Bookends:

Is that right? If so, I would guess the "New" and "Paste" menu commands are triggered by the action "ScanNWE". I would contact the Bookends people and see if there's anything to be done about it.

2007-10-22 13:03:54

Sylphe

Joined: 2007-10-21 04:17:06Posts: 8

Yes that exactly what I've done. I also will see what can be done on the Bookends forum, and keep you informed.
Many thanks

2007-10-22 23:36:33

Sylphe

Joined: 2007-10-21 04:17:06Posts: 8

Hi,

This is from Bookends forum:

Code:

Indeed, Bookends is sending the English commands to NW that are causing it to complain on a French system. I'm afraid that this is unavoidable. However, please note two things. First, even though the paste might not be completed, the scanned paper will still be in the clipboard, so you can paste it yourself into a NW document. Second, the scan macro is a modest convenience only. It's exactly equivalent to scanning the saved NW file from within Bookends (Scan a Doc), so you can use that instead

No final solution for the macro, then. But this way of doing is well, and the translated macro works, even with complains. Thank you for your help.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum