Search found 256 matches

by js
2014-07-10 07:34:32
Forum: Nisus Writer Pro
Topic: CJK and roman script font pairing
Replies: 14
Views: 13952

Re: CJK and roman script font pairing

The reason for the often unsatisfactory result if you choose a Chinese font for mixed text might be this: that in this case Apple does not normally substitute a Western script, but that the Western script is part of the Asiatic script design. That‘s why words with French accents or German Umlaute ar...
by js
2014-07-09 16:03:40
Forum: Nisus Writer Pro
Topic: CJK and roman script font pairing
Replies: 14
Views: 13952

Re: CJK and roman script font pairing

I would answer your question somewhat differently. In fact what you ask is badly documented by Apple. The direct answer is: you cannot choose a combination of a specific Western and CJK script. If your main language is Western and you intersperse occasional Chinese text, what you do is: choose only ...
by js
2014-05-21 05:15:13
Forum: Nisus Writer Pro
Topic: Recommended Reading
Replies: 1
Views: 4938

Recommended Reading

by js
2014-05-14 12:45:26
Forum: Nisus Writer Pro Macros
Topic: Transfer of variables
Replies: 5
Views: 12039

Re: Transfer of variables

Thank you. This helped. BTW It took me some time to find out that loading a value $myValue from the registry does not mean that it is loaded. This happens only if you assigen $myValue = "" beforehand. Or should that be obvious? I think this whole procedure to make a variable of one macro a...
by js
2014-05-14 05:05:00
Forum: Nisus Writer Pro Macros
Topic: Transfer of variables
Replies: 5
Views: 12039

Transfer of variables

I have a question:

A macro A creates a variable, f.e. by finding an item in a long list that resides within that macro.
How to call this variable from within a Macro B. Can this be done?
by js
2014-05-04 06:23:28
Forum: Nisus Writer Pro Macros
Topic: active doc question
Replies: 2
Views: 8638

Re: active doc question

Glad to have you helping. Thank You.
by js
2014-05-03 06:53:40
Forum: Nisus Writer Pro Macros
Topic: active doc question
Replies: 2
Views: 8638

active doc question

I have an open document called "MYDOC". I would like to test whether it is active and if not make it active. I wrote $doc = Document.active if $doc = "MYDOC" prompt "$doc is active" else Document.setActive $doc end What's wrong with this? The macro doesn't complain. But...
by js
2014-04-12 14:44:46
Forum: Nisus Writer Pro Macros
Topic: Opening a pdf file out of Nisus
Replies: 7
Views: 14506

Re: Opening a pdf file out of Nisus

Good to know how the macro works, thank you. I meanwhile realize that the problem can also be solved with

Code: Select all

Open URL "file:///... path ... .pdf"
by js
2014-04-08 04:38:14
Forum: Nisus Writer Pro Macros
Topic: Opening a pdf file out of Nisus
Replies: 7
Views: 14506

Re: Opening a pdf file out of Nisus

Well Thank you. This works. I have no idea why. I first understood that I should keep my original macro with the applescript in it, and change the path in the form you wrote me. But this is not the case. The 2 lines you send suffice to open the pdf. I still hope somebody will write an introduction t...
by js
2014-04-07 07:36:18
Forum: Nisus Writer Pro Macros
Topic: Opening a pdf file out of Nisus
Replies: 7
Views: 14506

Opening a pdf file out of Nisus

I want to open a pdf file from Nisus. With the link command this is possible. But I would like to open the pdf file with a macro. Document.open [filePath] can do it, but the pdf file is first transformed into rtf, which is not what I want. Is the only way then to have a Nisus Macro call Applescript ...
by js
2014-01-19 15:53:21
Forum: Nisus Writer Pro Macros
Topic: Paragraph shading
Replies: 4
Views: 10376

Re: Paragraph shading

Thank you.
I did not understand that "color" as argument of ShadingAttributes can't be a simple color name like "yellow"
by js
2014-01-19 05:07:57
Forum: Nisus Writer Pro Macros
Topic: Paragraph shading
Replies: 4
Views: 10376

Paragraph shading

I wonder how Paragraph Shading can be applied via a macro to paragraphs with a selection.
I fear did not understand how to use the commands given in the Macro help file.
by js
2013-12-26 11:24:33
Forum: Nisus Writer Pro Macros
Topic: How to test if a selection is a number or text?
Replies: 5
Views: 11306

Re: How to test if a selection is a number or text?

Thank you, this works very well for me. The problem was to look up text on one hand and chapter references on the other hand with one single macro. As chapter references text appear in different formats, like "5.1" or "5:01" or "5.01" for one and the same thing, I wante...
by js
2013-12-25 09:03:27
Forum: Nisus Writer Pro Macros
Topic: How to test if a selection is a number or text?
Replies: 5
Views: 11306

Re: How to test if a selection is a number or text?

This produces only a reminder that "The Text object does not have a 'subtext' property". And yes, I need the test. It serves to look up either a chapter references or text string within a file. The macro should do differently things depending on whether it's one or the other. The macro sho...
by js
2013-12-23 03:36:13
Forum: Nisus Writer Pro Macros
Topic: How to test if a selection is a number or text?
Replies: 5
Views: 11306

How to test if a selection is a number or text?

Using the *TypeOf" command produces "text" even for a numerical text selection.
How can one test if a selection is a number?