Is the contextual menu of HTML viewing windows the only GUI / Scripting route to Reload ?
I’m comparing DEVONthink with Brett Terpstra’s Marked 2 for live viewing of Bike outliner files (HTML outlines).
DT3 has the advantage of indexing a folder-full of outlines, but
Marked automatically updates the preview as one edits an outline in Bike.
The only route I’ve found to slightly less sluggish or cumbersome HTML preview updates in DT3 is this kind of thing:
tell application "DEVONthink 3" to activate
tell application "System Events"
tell application process "DEVONthink 3"
tell value of attribute "AXFocusedUIElement" to ¬
perform action "AXShowMenu"
keystroke "Reload"
key code 36
end tell
end tell
which seems a bit indirect …
Am I missing something a bit more direct ?
A minor note about a point at which Reload features in the documentation, under:
HTML-Based Formats > CONTEXTUAL MENU > Reload:
The gloss on that contextual menu item reads (at the moment):
Reloads the page from the Internet.
which, I suppose, expresses a reasonable assumption that an HTML file will typically be a resource “on the internet”, rather than actively and locally edited in a local folder.
(And I notice that DEVONthink does, in due course, update the display after a change in the file-system, even if not explicitly prompted. Rather more slowly than Marked 2, which is understandable, as it’s watching a much larger number of files)