Search found 12 matches

by m.danielsson
2014-08-21 14:05:17
Forum: Nisus Writer Pro
Topic: Find/Change all straight quotes to smart quotes
Replies: 8
Views: 7187

Re: Find/Change all straight quotes to smart quotes

While I'm a big fan of writing macros, there is a built-in feature under Edit > Convert > Plain Quotes to Smart Quotes (and Smart Quotes to Plain Quotes). This works on a selection… Did not know about that. Apart from it always being better to use built-ins, 'Edit > Convert > ..quotes..' handles un...
by m.danielsson
2014-08-19 03:00:42
Forum: Nisus Writer Pro
Topic: Find/Change all straight quotes to smart quotes
Replies: 8
Views: 7187

Re: Find/Change all straight quotes to smart quotes

A note: the '?' in the pattern is actually redundant. It still works but the '?´-qualifier is unnecessary: "([^"]+?)" could have, and really it should have ;), been written: "([^"]+)" since [^"]+ means one or more characters not in character class, ie one or more not-", the match would have stopped ...
by m.danielsson
2014-08-12 16:36:43
Forum: Nisus Writer Pro
Topic: Find/Change all straight quotes to smart quotes
Replies: 8
Views: 7187

Re: Find/Change all straight quotes to smart quotes

PowerFind Pro
Find: "([^"]+?)"
Replace: “\1”

Find straight quotation mark followed by 1 or more chars (could be '*' instead of '+' to match zero or more) that are not straight qouation marks. Non greedy, ie stop at next straight quotation mark.

reverse:
“([^”]+?)”
"\1"

Regards,
Martin
by m.danielsson
2014-08-12 08:25:30
Forum: InfoClick
Topic: Backward tab between text fields, InfoClick 1.1
Replies: 0
Views: 4772

Backward tab between text fields, InfoClick 1.1

Hello, Backward tab between text fields does not work in InfoClick 1.1 on OS X 10.9.4, or rather it works from the attachment text field to the attachment checkbox to the date text field. It does not work for the others, for instance from Text to Contact. Since InfoClick is blazingly fast it would b...
by m.danielsson
2014-08-03 15:39:31
Forum: Nisus Writer Pro
Topic: Emacs Keystrokes
Replies: 1
Views: 1227

Re: Emacs Keystrokes

Hi, It's great that Nisus supports some Emacs keystrokes. Is it possible to take it further, for example to have ^s for Find and ^x^s for save? The keybindings available from within NWP are probably limited to the Coca text system which NWP builds upon. A description on what it is possible to achie...
by m.danielsson
2014-07-30 01:53:49
Forum: Nisus Writer Pro Macros
Topic: NWP macro and AppleScript interoperability?
Replies: 2
Views: 3692

Re: NWP macro and AppleScript interoperability?

Well, since you’re creating the AppleScript within the Nisus macro, you can pass the Nisus array to AppleScript simply by creating it on the fly in your AppleScript string. For the return trip, Nisus gets back the last value generated by the AppleScript as a string. As far as I can tell, it’s the s...
by m.danielsson
2014-07-29 12:43:11
Forum: Nisus Writer Pro Macros
Topic: NWP macro and AppleScript interoperability?
Replies: 2
Views: 3692

NWP macro and AppleScript interoperability?

Hello, I am trying to convert a short integration Applescript for BBEdit into a macro to make BBAutocomplete (http://c-command.com/bbautocomplete/) compatible with NWP. BBAutocomplete is good because it lets you cycle through completions by invoking BBAutocomplete again à la Emacs’ dabbrev-expand (M...
by m.danielsson
2014-07-22 12:15:41
Forum: Nisus Writer Pro
Topic: Open rtf-files with Swedish as chosen language?§
Replies: 5
Views: 2063

Re: Open rtf-files with Swedish as chosen language?§

Thanks to the both of you! I tested switching language in System Preferences and Swedish was chosen, so eagleFiler probably does nothing about language. Also, I couldn't find any way to get it to ;) For the files created from with EagleFiler it is not a big deal to do this manually, but I thought th...
by m.danielsson
2014-07-21 21:53:04
Forum: Nisus Writer Pro
Topic: Open rtf-files with Swedish as chosen language?§
Replies: 5
Views: 2063

Open rtf-files with Swedish as chosen language?§

Hello, I use EagleFiler (http://c-command.com/eaglefiler/) plug:"A very nice 'digital filing cabinet, a research assistant, and a snippet collector'" and if you create a file from within EagleFiler it saves it in rtf. I have NWP set to open all rtf-files and my NewFile has "Swedish" as chosen langua...
by m.danielsson
2014-07-16 07:36:56
Forum: Nisus Writer Pro Macros
Topic: Jump back to note marker from notes section
Replies: 6
Views: 5401

Re: Jump back to note marker from notes section

Thanks Hamid and Þorvarður. Escape doesn't seem to work for me, but I have made a shortcut to "Go to Note" which goes both goes back and forth to the notes area. And hitting the shortcut when the cursor isn't immediately after the note reference jumps back to the reference of latest note added and h...
by m.danielsson
2014-07-15 05:15:57
Forum: Nisus Writer Pro Macros
Topic: Jump back to note marker from notes section
Replies: 6
Views: 5401

Re: Jump back to note marker from notes section

Thanks! Apart from being better in all ways, the built-in that I missed (hmmmm) will not break... Also, thanks for the tip about "previous selection"! That looks useful. If someone is interested the selectors that can be used in NWP are listed under "Responding to Action Messages": https://developer...
by m.danielsson
2014-07-12 03:29:53
Forum: Nisus Writer Pro Macros
Topic: Jump back to note marker from notes section
Replies: 6
Views: 5401

Jump back to note marker from notes section

Macros to make it possible to return to the position after an inserted note in the text from the notes section with a shortcut. I find this useful. Perhaps some of you might agree with me. There may be gotchas. It seems to not be possible to insert notes in textboxes and tables so those are not a pr...