nisus.com
https://www.nisus.com/forum/

NWP v2: Non-native scrollbars?
https://www.nisus.com/forum/viewtopic.php?f=18&t=4434
Page 2 of 2

Author:  martin [ 2017-10-02 15:53:50 ]
Post subject:  Re: NWP v2: Non-native scrollbars?

ScottinPollock wrote:
Disheartening to discover it's been almost 2 years and this still has not been fixed in 2.1.7. @Martin, any idea when we can expect a fix?

I assume you're asking about the problem where Nisus Writer does not respect the system setting regarding what happens when the user clicks in the scroll bar. You're right, this should have received our attention sooner. I'll make sure we prioritize taking a look at this issue. I'm sorry you (and others) are still suffering it.

Author:  Þorvarður [ 2017-11-18 04:56:41 ]
Post subject:  Re: NWP v2: Non-native scrollbars?

ScottinPollock wrote:
Disheartening to discover it's been almost 2 years and this still has not been fixed

The thread started in 2011, so it seems it's actually been 6 years…

I use an AppleScript to correct the behavior, and I think it might perhaps be a good idea to share it with the community. It's a simple, but effective work-around that solves the problem for me.

1) Save this as an AppleScript application. Call it "Open System Preferences General" and place it wherever you want on your internal hard drive.

Code:
tell application "System Preferences"
activate
set the current pane to pane id "com.apple.preference.general"
end tell

2) Then open Users & Groups in the System Preferences
3) Click on the Login Items tab
4) Drag Nisus Writer Pro and the AppleScript into the window

Now, every time the computer starts, the General pane will be opened, and all you have to do is to jiggle the handle. Assuming "Jump to the spot that's clicked" is enabled when the machine starts, then click once on "Jump to the next page" and then back on "Jump to the spot that's clicked."

When you jiggle, NWP is already running and that should establish the correct behavior and remain like that… as long as Nisus stays open.

If anybody knows how to integrate the jiggle in the AppleScript, then please share that knowledge.

Author:  Vanceone [ 2017-11-21 08:38:07 ]
Post subject:  Re: NWP v2: Non-native scrollbars?

Þorvarður, here is an applescript to set the "jiggle" correctly.

Code:
tell application "System Events"
   tell appearance preferences
      set scroll bar action to jump to here
      set scroll bar action to jump to next page
      set scroll bar action to jump to here
   end tell
end tell


Save that as an application and it will do the "jiggle" for you.

Author:  Þorvarður [ 2017-11-21 10:35:59 ]
Post subject:  Re: NWP v2: Non-native scrollbars?

Vanceone wrote:
here is an applescript to set the "jiggle" correctly.

Great! Thank you Vanceone!

Author:  Hamid [ 2017-11-21 10:59:05 ]
Post subject:  Re: NWP v2: Non-native scrollbars?

Or you can save a combined script as an app and launch it (or place it as a login item) instead of NWP:
Code:
tell application "Nisus Writer Pro"
   activate
end tell
tell application "System Events"
   tell appearance preferences
      set scroll bar action to jump to here
      set scroll bar action to jump to next page
      set scroll bar action to jump to here
   end tell
end tell

Page 2 of 2 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/