You can reset the Spotlight Index under Tiger with the command line tool “mdutil”. I have try to do this with a script using “do shell script”:
do shell script "/usr/bin/mdutil -E /" with administrator privileges
I think “with administrator privileges” should run this code as admin (just like if i would type sudo as prefix in Terminal). This method has worked for me everytime, but not this time! I get the error: “Must be root to run mdutil!”. But in Tterminal and with sudo it works.
Does everyone know what Im doing wrong?