View Single Post
  #13  
Old 02-18-2007, 10:38 AM
JC925602 JC925602 is offline
Member
 
Join Date: Nov 2000
Location: Montreal
Posts: 769
Default Re: A new & free helper application for ProTools

Quote:
Are you all really trashing your prefs so much you need an app do to it? I'd go as long as a year without trashing.
No I don't trash my prefs often, but I work for more than one studio (6 ProTools studios, 9 users), and in tree of them, nobody speak English so I cannot tell them over the phone "Go read the troubleshooting tread on the DUC".

And if I'm not home (ex: Working on a show setup at 2 am) I cannot start Chicken of the VNC and take control of their Mac and do it for them (and I only have one of the studio setup for that).

So I wrote those scripts.
Quote:
on a side note, when you DO trash, do you still need to restart?
I rarely do. It's an old reflex from OS 9, as reinstalling the OS once a month used to be on Windows 95 for some people.

Sometime just closing the OS session is OK.
Quote:
i am curious, why is your app removing apple audiomidi prefs?
I wrote those scripts at the first OS X version of ProTools, and audiomidi pref was on the troubleshooting thread. It's not there anymore, so I will move it to an independent button.
Quote:
Hi, excellent app. Can you add in "com.digidesign.CoreAudioManager.plist" to be trashed as well? This has caused many a problem when running Logic with DAE
Yes

I will also add on another button the "Volumes" folder in MacHD > Library > Application Support > Digidesign > Databases. I forgot to add it in the script 2 years ago, and I did not miss it. Plus I think it hold the "catalog" that I created in the digibase, and I don't want to lose them (there will be a warning when you click on that one)

I transformed these scripts into an application using Project Builder from the apple developer tools because I wanted to learn it. It took me half an hour to find where to change the version number as the french documentation I have for AppleScript Studio date back to 2004.

As I learn more AppleScript I will add a button for:
It is working well now, so make a copy of all my prefs so I can restore them later and one for:
I'm having problem right now so let's try a restore of those prefs to see if it cure all those problems
I will also add a French, Italian, Spanish, Polish translation.

History: I wrote those scripts at the first OS X version of ProTools, it was a simple script.
Tell finder to delete this and that file and delete Digi database on all disk.

Then came OS X 10.3 and the Digi Database script didn't work because of a new Network volume that the Finder was seeing, and ProTools was naming it's pref with the version number.

In a discussion on the DUC Tiago Silva wrote the actual Delete database script

tell application "Finder"
set disk_list to disks
repeat with i in disk_list
set folder_list to every folder of i
repeat with j in folder_list
if name of j is "Digidesign Databases" then delete j
end repeat
end repeat
end tell

So it's a simple copy and paste, but it gave me the basic knowledge to face the changing name of the prefs (ProTools v6.4, 6.7, 7.xx preferences) with this script

tell application "Finder"
set file_list to every file of folder "Preferences" of folder "Library" of home
repeat with i in file_list
if name of i starts with "Pro Tools" and name of i ends with "Preferences" then delete i
end repeat
end tell

Then, yesterday, I opened the book to learn how to integrated them into one AppleScript Studio application, went to the theatre, then made a version 1.1 with 5 independent buttons because Andre Knecht asked for it.

I will not transform this application into a 20 windows with 5 tabs each and a 10cm thick book to cover all troubleshooting options. It will stay a simple one window with 3 big buttons for the non geek ProTools users, and I will add translations for all those users who can't really read English well (for that I really like the command-control-D place the mouse over a word and see it's definition).

If you have ideas or some script that you want in this little app, then ask for it, and I will look into it.

JC
Reply With Quote