
Now I have to find a way to have the script wait until every app (except for the Finder of course) has quit (after saving OR not saving its open file) before starting up CCleaner and do the rest. The only thing is that CCleaner already starts running while I am still in the process of considering whether i do or don’t want to save open files in the running apps.

I didn’t save some and there was one file I did save. I did some testing with open apps with unsaved files and all apps politely asked whether I wanted to save the file. Set processProcessorUsage to (word 2 of (do shell script "/bin/ps -xcro command,%cpu | grep " & quoted form of processName)) as number Global idleTime, processName, counterTics, maxCPUusage Set idletime to do shell script "echo $((`ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/ ! default button 1 with icon 0 Things will be quit after " & quit_after & " seconds of system inactivity." How do I get the script to determine the cleaning process itself is over? I thought about something with an idle handler, something like the following code, but I can’t seem to get it to work: global quit_after, check_everyĭisplay dialog "Check is performed every " & check_every & " seconds. If you have any feedback on how we could make the new version better then it would be really appreciated if you could submit it here - Expand.

So, this starts up CCleaner and presses all the buttons/menus necessary to do the cleaning. Click CCleaner in the menu bar (Top left) Select 'Uninstall CCleaner'. I’ve been able to make a script for the first two steps - here’s my code for that: tell application "CCleaner"Ĭlick button "Run Cleaner" of window "Ccleaner" of process "CCleaner"

CCleaner es la herramienta número uno para limpiar el PC. Hace que su dispositivo esté más limpio y sea más seguro y rápido.
#Ccleaner for mac problems android
I searched several threads, but could not really advance with my problem… CCleaner optimiza su dispositivo Android en cuestión de segundos. I’m new here and a total beginner in applescript.
