Sorry, typo > > put the effective filename of me into tMyFileName put offset("/Contents",tMyFileName) into tMyLength put char 1 to (tMyLength - 1) of tMyFileName into tMyBundleName