Hi and good day,
NNW seems to have its own way to get the url, but how?
Please see the image below:
/
with best regards,
Omar KN
Stockholm, Sweden
Hi and good day,
NNW seems to have its own way to get the url, but how?
Please see the image below:
/
with best regards,
Omar KN
Stockholm, Sweden
There is no direct support for NetNewsWire (ie, there is no %NetNewsWireURL% token for example).
You will have to use either AppleScript if it supports AppleScript, or you will have to use UI scripting (Command-L, Command-C may well work for example).
Hey Omar,
NetNewsWire’s AppleScript dictionary is meagre, but you can add a URL.
set theURL to "some-url"
tell application id "com.blackpixel.netnewswire"
set addUrlResult to add url theURL
end tell
-Chris
hi Chris,
Thank you for chiming in.
NetNewsWire doesn’t seem to offer its url the same way Safari would
There is “add an url” as in the script above
set theURL to "some-url"
tell application id "com.blackpixel.netnewswire"
set addUrlResult to add url theURL
end tell
–from the dictionary (adapted):
–tell application “NetNewsWire”
– set theURL to “some-url”
– set addUrlResult to add url theURL
–end tell
= missing value.
If it is not possible to “get an url” then the basic KM Command-L, Command-C will be fine.
/
with best regards,
Omar KN
Stockholm, Sweden
Hey Omar,
The only other possibilities I know of are:
Using the shell:
open -a NetNewsWire "https://www.apple.com"
AppleScript:
tell application "NetNewsWire"
open location "https://www.apple.com"
end tell
I suspect these will just try to add the URL though instead of get it.
Oh, what version of NNW are you using?
-Chris
It’s the new, redesigned version 4.0.2
bye,
Omar