Part of control Pages freezes

Posted on
Tue Apr 19, 2016 6:07 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: Part of control Pages freezes

Is there a way to make the browser reestarts it self once every day to free memory


It's been a while since I played with Opera, and I had a few minutes to kill so I downloaded it and cobbled this quick Applescript. Add a schedule in Indigo and drop this script in it and it will close and restart Opera whenever you specify - Be sure to change the URL (currently google) to your control page.

Code: Select all
tell application "Opera" to quit

delay 3 -- Wait 3 seconds for Opera to close

tell application "Opera"
   activate
   open location "http://www.google.com" -- Change this to your control page
end tell

If you have already Opera set to open your control page when it starts up, you can omit the "open location" line in the script above and just have something like this:

Code: Select all
tell application "Opera" to quit
delay 3 -- Wait 3 seconds for Opera to close
tell application "Opera" to activate


Hope this helps,
Terry

Posted on
Tue Apr 19, 2016 9:46 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Part of control Pages freezes

Any other symptoms of bad behavior on the Mini?

Do reboot from the Recovery partition and run Disk Utility to Repair Disk. It might not fix it, but it will let you know if there's a problem.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Tue Apr 26, 2016 5:04 am
Gusten offline
Posts: 171
Joined: Dec 30, 2015
Location: Sweden, Gothenburg

Re: Part of control Pages freezes

@rousell

Perfekt thanx, workes like a charm, and my memory problem is gone :-)

/Martin

Who is online

Users browsing this forum: No registered users and 3 guests