in reply to How can I tell a browser to refresh from perl?

Hi Anonymous,

Is this HTML file on a web server, or are you accessing it via a file:// URL? If it were on a web server, there would be ways to do it with AJAX requests. If not, and this is all just on a single local machine with a file:// URL, then because I haven't worked on a Mac in a while I can't tell you if there's a better way, perhaps a Monk more versed in that can help (have you tried Mac::AppleScript?). But if it works, maybe it doesn't need fixing ;-)

Regards,
-- Hauke D

Replies are listed 'Best First'.
Re^2: How can I tell a browser to refresh from perl?
by Anonymous Monk on Feb 11, 2017 at 10:09 UTC
    All on a local machine. And I can't get any perl-to-AppleScript module to work. In any case, Mac::Applescript is no good because it compiles the script every time, and so is less efficient than my current solution! At least Mac::OSA::Simple, if it worked, would execute a precompiled and even preloaded script. I was really hoping for some non-AppleScript solution.