<pre>on findCardScripts  toComputer  repeat with x = 1 to the number of cards    if the script of cd x is not empty then edit the script of cd x  end repeatend findCardScripts</pre>