set shortened_path to do shell script " echo \"" & posix_path & "\" | sed 's|/Volumes||' " set path_str to path_str & shortened_path & return -set path_str to path_str & posix_path & return end repeat - Copy plain text to the clipboard. CBT 10/5/99 set path_str to "" as string repeat with i from 1 to the count of myItems set this_item to item i of myItems set posix_path to POSIX path of this_item - For now I'm stripping the preceding '/Volumes' string for external - drives so I don't clutter my build logs. Just drop a few files/folders onto this droplet and their pathes will be copied and put on the clipboard.-CBT*)on open these_items set myItems to itemSort(these_items) - v1.0.5 ASCIIsort failed on older versions of applescript. Hello,Here's another applescript variation in the form of a droplet: (*I use this script to show people where to find files on our LAN.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |