Search found 305 matches

by adryan
2019-09-02 07:10:13
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G’day, all

Date ISO → US.nwm
(22.78 KiB) Downloaded 68 times

Date ISO → US Ordinal.nwm
(23.65 KiB) Downloaded 68 times

Date AU → ISO.nwm
(23.2 KiB) Downloaded 67 times

Cheers,
Adrian
by adryan
2019-09-02 07:05:28
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G’day, all My aim all along in this project has been to devise a sorting routine that would work in a variety of situations, not just in Tables. In these broader contexts, things that look a bit like dates or parts thereof may not necessarily be the appropriate sort targets. I think I’ve now address...
by adryan
2019-09-02 01:52:59
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G'day, wF, Philip et al Full marks for the heroic testing effort, wF! I much appreciate your going to the trouble of testing all the solutions Philip and I have offered. Thanks for pointing out the erroneous ordinal expressions in my macros. How silly of me! Sorry about that. I think I’ve now rectif...
by adryan
2019-08-31 17:10:58
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G'day, wF et al

How about this one? As long as the date comes first, it will operate on a selection to sort ordinary paragraphs, list items and tables. The day of the month is allowed to be expressed as an ordinal.

Sort by Date US.nwm
(24.41 KiB) Downloaded 88 times

Cheers,
Adrian
by adryan
2019-08-31 13:52:54
Forum: Nisus Writer Pro
Topic: Library of styles
Replies: 2
Views: 812

Re: Library of styles

G'day, Yohanan et al My suggestion would be that you create a series of template documents, each designed for a specific purpose and containing a tailor-made set of Styles appropriate for documents derived from that template. You might have different templates for business letters, specific legal do...
by adryan
2019-08-31 02:21:37
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G’day, all

And just in case there are any Australians out there who use the format “21 December, 2019” or the ordinal equivalent, here is another set of macros:–

Date AU → ISO.nwm
(22.15 KiB) Downloaded 87 times

Date ISO → AU.nwm
(22.81 KiB) Downloaded 87 times

Date ISO → AU Ordinal.nwm
(23.11 KiB) Downloaded 87 times

Cheers,
Adrian
by adryan
2019-08-31 01:11:49
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G'day, Philip et al I think that does everything that's required for wF's purpose, Philip, as long as every cell in the selected column actually contains something from which a date can be extracted. Perhaps I should clarify some things about my approach. Although wF is dealing with a table, I sough...
by adryan
2019-08-30 20:06:24
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G'day, Philip, wF et al I knew there'd be some way to get the macro language to do this. :-) Thanks to Philip for showing how it's done. All sorts of variants are possible here. I guess my approach would be to decide on my own immediate and anticipated needs, and then devise a fairly general solutio...
by adryan
2019-08-30 17:23:36
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 3879

Re: Table Format for Sort by date?

G'day, wF et al Apple's Numbers is a free and very powerful spreadsheet application, available for both macOS and iOS. But one does not want to resort to another application for this purpose. Here are two macros that operate on selections. One converts US dates to ISO 8601 format (viz, YYYY-MM-DD); ...
by adryan
2019-08-28 14:23:04
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 3158

Re: Print specific pages

G'day, Martin et al Thanks for another great addition to the macro collection, Martin. With respect to my distrust of the Mac's PDF system, it's born of long experience — including yet again yesterday, as a matter of fact. I think there are two factors involved. One is that line wrapping appears dif...
by adryan
2019-08-28 02:17:07
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 3158

Re: Print specific pages

G'day, all It occurred to me that, since I had CUPS-related files for my Brother printer installed in one of my Libraries, perhaps I could, without any preamble at all, simply use CUPS commands in Terminal to print files. And so it proved! All I had to do was connect the printer, open Terminal, ente...
by adryan
2019-08-26 16:54:58
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 3158

Re: Print specific pages

G'day, johseb, Martin et al I'm not a fan of relying on Apple's PDF system if it can be avoided. I think I've found another solution to johseb's original problem, but I'm not quite sure how to implement it. The CUPS environment offers a command for selecting a range (or several comma-separated range...
by adryan
2019-08-25 04:31:38
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 3158

Re: Print specific pages

G'day, johseb et al

It's a problem with AppleScript, at least under Mojave. The AppleScript Dictionary for BBEdit has similar commands to NWP, but attempting to print closes all open documents and the editing window, with no dialog box in sight.

Cheers,
Adrian
by adryan
2019-08-25 02:33:11
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 3158

Re: Print specific pages

G'day, johseb et al Thanks for your input on this, johseb. I am assuming you would have altered the target printer parameter in the code to reflect your own printer. Not that it matters much, if the dialog box is opening but other parameters are not entered correctly. It would just need to be change...
by adryan
2019-08-24 22:58:20
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 3158

Re: Print specific pages

G’day, johseb et al I thought I’d look into this a bit more: we need a script of some sort. We can’t use a macro that relies only on commands available in the NWP hierarchical menu structure because you can’t set the page numbers in the Print dialog box other than manually. As far as I could determi...