Search found 239 matches

by js
2014-05-21 05:15:13
Forum: Nisus Writer Pro
Topic: Recommended Reading
Replies: 1
Views: 2091

Recommended Reading

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

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 available t...
by js
2014-05-14 05:05:00
Forum: Nisus Writer Pro Macros
Topic: Transfer of variables
Replies: 5
Views: 5844

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: 4509

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: 4509

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 whether MYDOC is actually act...
by js
2014-04-12 14:44:46
Forum: Nisus Writer Pro Macros
Topic: Opening a pdf file out of Nisus
Replies: 7
Views: 7250

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: 7250

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: 7250

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: 5162

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: 5162

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: 5551

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 wanted to treat these numeric searc...
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: 5551

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 should be abl...
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: 5551

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?
by js
2013-11-14 15:33:39
Forum: Nisus Writer Pro
Topic: When are macros visible in the Finders Column view?
Replies: 12
Views: 5462

Re: When are macros visible in the Finders Column view?

Great.
It can be done by a Keyboard Maestro Editor macro. (Give it half a second pause after returns and press buttons "Use .rtf" and "Use .nwm" with a space before the dot.)
by js
2013-11-08 00:29:51
Forum: Nisus Writer Pro
Topic: When are macros visible in the Finders Column view?
Replies: 12
Views: 5462

Re: When are macros visible in the Finders Column view?

Martin wrote: I'm afraid I don't know why the Finder would have a preview for one ".nwm" containing RTF but not another. One hypothesis: at some earlier point (eg: OSX 10.6) the Finder was smart enough to recognize the RTF inside and generate a preview. These previews can be stored in the file's met...