Search found 28 matches

by Pat
2015-10-27 12:51:25
Forum: Nisus Writer Pro Macros
Topic: Permission denied when running old macro
Replies: 10
Views: 3168

Re: Permission denied when running old macro

Ok then, in the following macro, where does the command "File.requireAccessAtPath path " fits: $doc = Document.active $dbPath = ‘~/Documents/Nisus Documents/ENGLISH VOCAB_2.rtf’ $dbAvailable = File.existsAtPath $dbPath if $dbAvailable    $dbDoc = Document.open $dbPath else    prompt ‘Can\’t find the...
by Pat
2015-10-26 15:51:04
Forum: Nisus Writer Pro Macros
Topic: Permission denied when running old macro
Replies: 10
Views: 3168

Re: Permission denied when running old macro

Those macros used to work fine. I really don't understand why they don't work anymore and need to be modified. This macro in particular needs to open rtf documents containing long lists of words...
by Pat
2015-10-26 12:54:37
Forum: Nisus Writer Pro Macros
Topic: Permission denied when running old macro
Replies: 10
Views: 3168

Re: Permission denied when running old macro

Ok. I did everything you said this time and the macros appear in the menu but it still doesn't work even though the permissions of the rtf documents opened by the macros have been changed. Apparently, after an update, my macros were all moved in another folder. I have two Nisus folders in the Docume...
by Pat
2015-10-26 07:13:57
Forum: Nisus Writer Pro Macros
Topic: Permission denied when running old macro
Replies: 10
Views: 3168

Re: Permission denied when running old macro

I'm not sure I understood what you meant. I took the macros that were in the macros folder and I put them into the Nisus documents folder which is found in the documents folder. The macros didn't show in the macro menu anymore. When I tried to run the macro, all the related macros opened but nothing...
by Pat
2015-10-26 02:21:00
Forum: Nisus Writer Pro Macros
Topic: Permission denied when running old macro
Replies: 10
Views: 3168

Permission denied when running old macro

This morning I needed to run an old macro. I had two problems: 1 All my macros had disappeared from the macro menu. 2 After doing Run macro from file, I ran the macro, I found the macro I was looking for. But then Nisus sends me this message: "Could not access the file... because permission was deni...
by Pat
2011-10-17 18:17:52
Forum: Nisus Writer Pro Macros
Topic: A macro to do macros
Replies: 11
Views: 7317

Re: A macro to do macros

Bingo. That's exactly what I wanted. Thank you. I changed 'a-uU' for 'EawUm' and it works perfectly well.
by Pat
2011-10-02 05:45:59
Forum: Nisus Writer Pro Macros
Topic: A macro to do macros
Replies: 11
Views: 7317

Re: A macro to do macros

Thank you very much. I'm very grateful. I will read this and do my best to understand. What is my goal? I didn't ask myself that question seriously up to now. My poor knowledge in programming certainly limits my ambitions... and learning to speak the language I'm studying is already difficult. I wil...
by Pat
2011-09-29 17:23:56
Forum: Nisus Writer Pro Macros
Topic: A macro to do macros
Replies: 11
Views: 7317

Re: A macro to do macros

Thanks again for these new solutions. But I think I would like to put all my data into some kind of database. This database could store all the attributes and the definition of each word. And I would like to be able to use this database to analyze new texts. Is this possible? What should I use to do...
by Pat
2011-09-28 04:55:44
Forum: Nisus Writer Pro Macros
Topic: A macro to do macros
Replies: 11
Views: 7317

Re: A macro to do macros

Hi, Thank you for these examples. But, that is not what I'm looking for. Let me explain. I'm learning a new language. I give certain attributes to words to indicate their gender. (So when I read a text, I don't have to ask myself, if a word is feminine or masculine.) Then I macroize those words so I...
by Pat
2011-09-15 17:26:11
Forum: Nisus Writer Pro Macros
Topic: A macro to do macros
Replies: 11
Views: 7317

A macro to do macros

Hi,
I use the macroize function a lot. I would like to have a macro that would individually macroize all the different words in a text selection. I would like to be able to produce series of "find and replace macros" in just one click. Is that possible?
Thank you,

Pat
by Pat
2009-12-13 14:37:58
Forum: Nisus Writer Pro Macros
Topic: Hebrew diacriticals
Replies: 2
Views: 2954

Re: Hebrew diacriticals

So it's not yet possible? Too bad.
by Pat
2009-12-13 09:06:54
Forum: Nisus Writer Pro Macros
Topic: Hebrew diacriticals
Replies: 2
Views: 2954

Hebrew diacriticals

Hi again, To improve the readability of hebrew texts, I would like to apply different colors to hebrew diacriticals but it seems it is not possible to write diacriticals in a macro. Instead I get two squares with A and א inside of them. The macro finds the diacritical but does not apply the color. W...
by Pat
2009-12-09 22:43:57
Forum: Nisus Writer Pro Macros
Topic: Aplying bold, italic, normal without using menu
Replies: 9
Views: 5825

Re: Aplying bold, italic, normal without using menu

It's late and I'm tired but my macro is finally working properly! I would like to thank you all for yours suggestions.

Pat
by Pat
2009-12-08 17:58:05
Forum: Nisus Writer Pro Macros
Topic: Aplying bold, italic, normal without using menu
Replies: 9
Views: 5825

Re: Aplying bold, italic, normal without using menu

Thank you Phillip.

I'm using a reading method for children that uses colors. I also use this color system with other texts and that is why I have made this macro (which saves me a lot of time even though it is far from perfect).

Pat
by Pat
2009-12-08 06:12:42
Forum: Nisus Writer Pro Macros
Topic: Aplying bold, italic, normal without using menu
Replies: 9
Views: 5825

Aplying bold, italic, normal without using menu

Hi again, This very simple. Up to now, when I want to apply a bold attribute I just write "Bold" in the macro. However, when I change the language of my computer (from english to french), the names in the format menu are not the same and the macro doesn't work anymore. Also, sometimes I would like t...