<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you for your quick answer. <div>You made few interesting points!<div><span class="Apple-tab-span" style="white-space:pre"> </span>- the "$" acts as a warning for me to re-assign a specific (client) name to the document. not a brilliant idea, which I will change</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- the "try/on" spilt is more to do with my lack of knowledge on Applescript: I have just adapted one found on a forum.<br><div><br class="webkit-block-placeholder"></div><div>I am having difficulties implementing your suggestions, not having enough knowledge of the Applescript syntax; I mainly do html and css coding, and have adapted a script to my needs.</div><div><br class="webkit-block-placeholder"></div><div>Would you mind to clarify or correct directly the full script below?</div><div>It would be much appreciated...</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 41.6px; text-indent: -41.7px; font: normal normal normal 12px/normal Verdana; text-align: justify; "><font class="Apple-style-span" face="Helvetica"><blockquote type="cite" class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 41.6px; text-indent: -41.7px; font: normal normal normal 12px/normal Verdana; "><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">theFolder</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">choose folder</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">with prompt</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">"Create/Choose Client Project folder"</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 41.6px; text-indent: -41.7px; font: normal normal normal 12px/normal Verdana; "><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">try</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 56px; text-indent: -56.1px; font: normal normal normal 12px/normal Verdana; "><span style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">briefFolder</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">((</span></font><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">theFolder</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">as</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">text</span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">)</span></font><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">&</span></font><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">"Brief")</span></font><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">as</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">alias</span></font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 41.6px; text-indent: -41.7px; font: normal normal normal 12px/normal Verdana; "><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">on</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">error</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 56px; text-indent: -56.1px; font: normal normal normal 12px/normal Verdana; "><span style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">tell</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">application</span></font></span><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">"Finder"</span></font><span style="font: 12.0px Helvetica"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 57.6px; text-indent: -57.7px; font: normal normal normal 12px/normal Courier; "><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style="font: normal normal normal 12px/normal Verdana; "><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style="font: normal normal normal 12px/normal Verdana; "><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">briefFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style="font: normal normal normal 12px/normal Verdana; "><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">(POSIX path of briefFolder) & "x.tasks"</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 57.6px; text-indent: -57.7px; font: normal normal normal 12px/normal Courier; "><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">do shell script ("touch " & briefDoc & " ;mate " & briefDoc)</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28.8px; text-indent: -28.9px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">end try</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28.8px; text-indent: -28.9px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#000000" face="Helvetica">tell application "Finder"</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 56px; text-indent: -56.1px; font: normal normal normal 12px/normal Verdana; "><span style="font: normal normal normal 12px/normal Helvetica; "><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">capturesFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">make</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">new</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">folder</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">at</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">theFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">with properties</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">{</span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">name</span></font><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">:"Captures"}</span></font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 56px; text-indent: -56.1px; font: normal normal normal 12px/normal Verdana; "><span style="font: normal normal normal 12px/normal Helvetica; "><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">processedFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">make</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">new</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">folder</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">at</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">theFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">with properties</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">{</span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">name</span></font><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">:"Processed"}</span></font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 56px; text-indent: -56.1px; font: normal normal normal 12px/normal Verdana; "><span style="font: normal normal normal 12px/normal Helvetica; "><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">HiResFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">make</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">new</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">folder</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">at</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">processedFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">with properties</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">{</span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">name</span></font><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">:"High-Res Images"}</span></font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 56px; text-indent: -56.1px; font: normal normal normal 12px/normal Verdana; "><span style="font: normal normal normal 12px/normal Helvetica; "><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">LoResFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">make</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">new</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">folder</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">at</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">processedFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">with properties</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">{</span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">name</span></font><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">:"Low-Res Images"}</span></font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 56px; text-indent: -56.1px; font: normal normal normal 12px/normal Verdana; "><span style="font: normal normal normal 12px/normal Helvetica; "><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">set</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">trashFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">to</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">make</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">new</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">folder</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">at</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">theFolder</span></font></span><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">with properties</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">{</span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">name</span></font><span style=""><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">:"Trash"}</span></font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 41.6px; text-indent: -41.7px; font: normal normal normal 12px/normal Verdana; "><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">end</span></font><span style="font: normal normal normal 12px/normal Helvetica; "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"> </span></font></span><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="background-color: transparent;">tell</span></font></div></blockquote><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 41.6px; text-indent: -41.7px; font: normal normal normal 12px/normal Verdana; text-align: justify; "><font class="Apple-style-span" face="Helvetica">PS: what are the details of your book?</font></div></div><div><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div><div>cheers, Pascal</div></div><div><br class="webkit-block-placeholder"></div></div></span><br class="Apple-interchange-newline"> </div><br><div><div>On 18/03/2008, at 11:26 AM, Dr. Drang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Mon, Mar 17, 2008 at 8:32 PM, pascal@g <<a href="mailto:ymostudio@gmail.com">ymostudio@gmail.com</a>> wrote:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">the principle of the script was to create folders and sub-folders, then<br></blockquote><blockquote type="cite">create a new document in one of them with my text editor, save it with a<br></blockquote><blockquote type="cite">title, bringing it to the front for entry.<br></blockquote><br>If you delete everything after the 'tell application "Finder"' clause and insert<br><br> set briefDoc to (POSIX path of briefFolder) & "$.tasks"<br> do shell script ("touch " & briefDoc & "; mate " & briefDoc)<br><br>it should do what you want. I have to say that the use of a dollar<br>sign as a file name scares me a bit because it's a special character<br>in the shell, but with this change the script worked for me.<br><br>(I am curious why the creation of the Captures folder isn't put into a<br>'try/on error' block like the creation of the Briefs folder, but I'm<br>sure you have your reasons.)<br><br><blockquote type="cite">I have posted an entry on MacScripter, to hear that TextMate was "poorly<br></blockquote><blockquote type="cite">scriptable, even Standard Suite is badly implemented".<br></blockquote><blockquote type="cite">any solution to contradict that?!<br></blockquote><br>TextMate is certainly not as AppleScriptable as BBEdit, but it is far<br>more scriptable with Perl, Python, Ruby, and the shell. In my book,<br>this is a big win for TextMate and the reason I switched a couple of<br>years ago.<br><br>-- <br>Dr. Drang<br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br></div></div></div></body></html>