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
Post a Comment