On 10 Jan 2015, at 05:38, Shane Stanley <email@hidden> wrote:
Try:
defaults write NSGlobalDomain NSScriptingDebugLogLevel 0
Ah, yes. thanks! Found it in my bash history.
Alas, that doesn't change anything (well, it stops the logging, but...): the script is still not returning on my home folder (last try was 7 minutes and counting), and there's some cute little kernel messages I've never noticed before (maybe due to using latest build, again): "time since last refill"??!! :D
10/01/2015 10:34:01.000 kernel[0]: process Script Editor[3168] thread 605611 caught burning CPU! It used more than 50% CPU (Actual recent usage: 67%) over 180 seconds. thread lifetime cpu usage 90.024306 seconds, (85.067038 user, 4.957268 system) ledger info: balance: 90009100074 credit: 90009100074 debit: 0 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 132980180771
Anyway, I don't want to bust your chops. If it's working for others, fair enough. It works on smaller folders of mine, but as I said earlier, I don't find the output any clearer than doing this, which also has the advantage of brevity and speed. YMMV.
set p to POSIX path of (choose folder) set s to "ls -R | sed -e 's/://' -e 's/[^-][^\\/]*\\//--/g' -e 's/^/ /' -e 's/-/|/'" do shell script "cd " & p & ";" & s
Best
Phil
DisplayDroid beta (a lightweight script editor and automation tool) is now available for free download. More info on sqwarq.com/displaydroid
|