Copy Finder Path to Clipboard – Tip 2

Fri, Mar 28

Yesterday I wrote a short AppleScript application that copied the current path of the Finder window to the clipboard. A rather unassuming, yet handy application. One downside to this application is that if you want the path of a folder selected in Finder, you would have to double-click on the folder to change the Finder path to that folder location, and then you could engage the AppleSscript application to copy the path.

For example, in the figure below clicking the Script Editor icon that we created in yesterday” onclick=”return TrackClick(”,’applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D–%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A–%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A–%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg’)”s post (to the right of the terminal window with green arrow) will copy the path /Applications/ to the clipboard. However, what if you intention was to copy the path of the highlighted folder, that is, /Applications/Utilities/Java/ ?

I” onclick=”return TrackClick(”,’applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D–%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A–%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A–%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg’)”ve reworked the original example to add support for dragging a folder onto the icon and also moved the code for displaying a dialog box when an error occurs into a subroutine. Take a look at updated application below:

 onclick= Click here to paste the code below into the Script Editor

-- When clicking on the icon
try
  tell application " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"Finder" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"
    set currentPath to (POSIX path of (target of front window as alias))
    set the clipboard to currentPath
  end tell
on error
  my finderErrorMsg()
end try

-- When dropping a folder onto the icon
on open {droppedFolder}
  try
    tell application " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"Finder" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"
      set the currentPath to (POSIX path of droppedFolder as text)
      set the clipboard to currentPath
    end tell
  on error
    my finderErrorMsg
  end try
end open

-- Error msg when unable to copy a path to the clipboard
on finderErrorMsg()
  display dialog " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"Unable to copy a path to the clipboard.
                      Make sure Finder is referencing a directory/folder
                      within the file system." onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"
                      buttons {" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"Ok" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"} with icon caution with title " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"Error" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"
end finderErrorMsg

With the addition of the on open reference (line 12) you can now drag/drop a folder in Finder onto the application icon and its path will be copied to the clipboard. Before you can use the script, you will need to save the AppleScript code as an application and drag the script onto the toolbar (remove any previous version of the program by right clicking and selecting ” onclick=”return TrackClick(”,’applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D–%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A–%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A–%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg’)”Remove Item” onclick=”return TrackClick(”,’applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D–%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A–%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A–%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg’)”).

As a quick debugging tip, you can add a dialog box as shown below to display the path that was copied into the clipboard:

tell application " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"Finder" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"
  set currentPath to (POSIX path of (target of front window as text))
  set the clipboard to currentPath
  display dialog currentPath buttons {" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"ok" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3D--%2520When%2520clicking%2520on%2520the%2520icon%250Atry%250A%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520%2528target%2520of%2520front%2520window%2520as%2520alias%2529%2529%250A%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509end%2520tell%250Aon%2520error%250A%2509my%2520finderErrorMsg%2528%2529%250Aend%2520try%250A%250A--%2520When%2520dropping%2520a%2520folder%2520onto%2520the%2520icon%250Aon%2520open%2520%257BdroppedFolder%257D%250A%2509try%250A%2509%2509tell%2520application%2520%2522Finder%2522%250A%2509%2509%2509set%2520currentPath%2520to%2520%2528POSIX%2520path%2520of%2520droppedFolder%2520as%2520text%2529%250A%2509%2509%2509set%2520the%2520clipboard%2520to%2520currentPath%250A%2509%2509end%2520tell%250A%2509on%2520error%250A%2509%2509my%2520finderErrorMsg%250A%2509end%2520try%250Aend%2520open%250A%250A--%2520Error%2520msg%2520when%2520unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard%250Aon%2520finderErrorMsg%2528%2529%250A%2509display%2520dialog%2520%2522Unable%2520to%2520copy%2520a%2520path%2520to%2520the%2520clipboard.%2520Make%2520sure%2520Finder%2520is%2520referencing%2520a%2520directory%252Ffolder%2520within%2520the%2520file%2520system.%2522%2520buttons%2520%257B%2522Ok%2522%257D%2520with%2520icon%2520caution%2520with%2520title%2520%2522Error%2522%250Aend%2520finderErrorMsg')")"}
end tell
...

Now you can view the clipboard contents (through the dialog box) which makes the debugging process a little easier should you decide to tweak this application.

Another good example of the power of scripting on a Mac.

7 comments

That is exactly what I was looking for; Thank you!

by JessD on Dec 30, 2008. Reply #

Thanks for this little tidbit. Very handy.

One quick note, on my machine (Mac Pro, 10.5.6) I had to change the error dialog code so it looks like:

on finderErrorMsg()
display dialog “Unable to copy a path to the clipboard.
Make sure Finder is referencing a directory/folder
within the file system.” with icon caution with title “Error”
buttons(“Ok”)
end finderErrorMsg

Otherwise I’d get an error that “a icon can’t go after buttons” or something.

by Sean on Jan 15, 2009. Reply #

Thanks for the script, it’s very very useful! But I seem to have a little problem using it… When the folder has ” ” (spaces) and I want to copy the path to the Terminal, it isn’t able to find the directory :-(

Is there any easy (or obvious) solution for this issue?

Thanks!
Ricardo

by rjfvaac on Jun 5, 2009. Reply #

Well, I’ve just solved my little issue, after talking to a friend. I only needed to change your script from

set the clipboard to currentPath

to:

set the clipboard to "\"" & currentPath & "\""

And all is perfect :D

Thanks again

by rjfvaac on Jun 5, 2009. Reply #

Thanks! That’s exactly what I was looking for. I still can’t believe the Finder doesn’t have a feature like this yet. I added rjfvaac’s modification, but unfortunately some applications mis-handle quoted paths in save-as dialogs and apparently treat the entire quoted string as a filename.

by Paton Lewis on Feb 7, 2010. Reply #

Hey. If you you want a more clean/integrated solution, FinderPath may be worth a look:

http://finderpath.bahoom.de/

by beaverbee on Apr 26, 2010. Reply #

Select file
Get Info
Triple-click path after Where: in the General section
Copy

by none on Mar 9, 2012. Reply #

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>