<pre>function selectedBkgnds  toComputer  put liste("selectedBkgnds") into theSelectedBkgnds  if theSelectedBkgnds is empty then    repeat with x = 1 to the number of bgs      put the long name of bg x into line x of theSelectedBkgnds    end repeat  end if  return theSelectedBkgndsend selectedBkgnds</pre>