<pre>on adjustViews targetFolder  ----  put "tell application" && quote & "Finder" & quote & return after scriptVar  put "set has custom view settings of (" & quote & targetFolder & quote && "as alias) to true" & return after scriptVar  put "set view of container window of (" & quote & targetFolder & quote && "as alias) to label" & return after scriptVar  put "end tell" after scriptVar  ----  do scriptVar as appleScript  ----end adjustViews</pre>