Outliner Software Forum RSS Feed Forum Posts Feed

Subscribe by Email

CRIMP Defined

 

Tip Jar

Move to bin

View this topic | Back to topic list

Posted by Dr Andus
Mar 20, 2018 at 02:11 PM

 

jaslar wrote:
>I just discovered that Dynalist does this now, too (and has for a
>while). Ctrl-Shift-M (Move). Then you type the node name, a quick search
>pops up all the matches, and a return moves it.
> >Kudos to them. I’m liking it better all the time. The only big thing I
>miss now is word count.

If you’re on Windows, you could just use an AutoHotkey script (like the one below), and suddenly you can do word count in any application. This one is triggered by hitting ALT+W (select the text first). Not sure if the forum software can display this all correctly, but let’s see:

;———————————-
; ALT+W to count words |
;———————————-

!W:: ; ALT + W to activate script
ClipSaved := ClipboardAll   ; Save the entire clipboard to a variable of your choice.
Clipboard := 
Send ^c
; Send {Left}
ClipWait, 2
StringReplace, clipboard, clipboard, ‘, x, All
ClipWait, 2
StringReplace, clipboard, clipboard, -, x, All
RegExReplace( Clipboard, “\w+”, “”, Count ) ; PhiLho
Clipboard := ClipSaved

; To have a ToolTip disappear after a certain amount of time
; without having to use Sleep (which stops the current thread):
#Persistent
ToolTip, Word Count: %Count%
SetTimer, RemoveToolTip, 5000
return

RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
Return