Help improve the script i wrote

Hi all,

we are having some trouble with Quark and quark products on our mac’s here at work

we came up with this script file.


rm ~/Library/Preferences/com.quark.QuarkXPress.plist
rm ~/Library/Preferences/com.quark.QuarkCopyDesk.plist
rm ~/Library/Preferences/com.extensis.suitcase.plist
rm -r ~/Library/Preference\/Suitcase \Preferences rm -r ~/Library/Preferences/Quark rm /applications/QuarkXPress/QPS/* rm /applications/QuarkCopyDesk/QPS/* rm /applications/QuarkXPress/JAWS/ttemp/*.ps
rm ~/Suitcase\ Server\ Fonts/*

that does everything that we need to do

HOWEVER we can not get it to just run as a file to run it on a users machine they need to open up a terminal ( like x11) and then cut and paste it in and then run it.

we were hopeing to make an easier way to run this as a program or a shortcut

Any ideas for improvement would be GREATLY APRESHATED

Create a new AppleScript with this and save it as an application. Now your users just need to double click it.

do shell script "rm ~/Library/Preferences/com.quark.QuarkXPress.plist;¬
rm ~/Library/Preferences/com.quark.QuarkCopyDesk.plist;¬
rm ~/Library/Preferences/com.extensis.suitcase.plist;¬
rm -r ~/Library/Preferences/Suitcase\\ Preferences;¬
rm -r ~/Library/Preferences/Quark;¬
rm /Applications/QuarkXPress/QPS/*;¬
rm /Applications/QuarkCopyDesk/QPS/*;¬
rm /Applications/QuarkXPress/JAWS/ttemp/*.ps;¬
rm ~/Suitcase\\ Server\\ Fonts/*"

Hi crash893

(slightly of topic) :slight_smile:
not a apple script solution, but maybe it’s suitcase?, I used it years ago and had many issues with it,
quark, general font issues etc, got rid of it and started using Font Agent Pro, no issues.

http://www.insidersoftware.com/index.php

Budgie

I’ll second the Font Agent Pro recomendation. I still have the occasional problem, but nothing near those experienced with Suitcase.

I will look into it but its not up to me its a company decision

Persnly i would just load all the fonts locally and be done with it.