osx - Mac: reloading document in Chrome or Firefox? -


how can tell chrome or firefox reload document in top window? here's i'm using safari:

osascript -e '     tell application "safari"       activate       javascript "history.go(0)" in document 1     end tell ' 

i not think firefox or chrome have special applescript support, can send keystrokes (cmd-r) refresh page:

tell application "firefox"     activate     tell application "system events" keystroke "r" using command down end tell 

Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -