This is odd. When run from an applet this script produces a path ending with two colons.
set myPath to path to me
set folderInfo to parse object myPath ¬
with HFS results
set autoDownloadingFolder to parent_folder_path of folderInfo
-->>"Macintosh HD:Users:edstockly:AppleScript:AutoDownloading x::"
Rewriting it this way worked:
set folderInfo to parse object myPath ¬
without HFS results
set autoDownloadingFolder to parent_folder_path of folderInfo
set autoDownloadingFolder to POSIX file autoDownloadingFolder as alias
-->>"Macintosh HD:Users:edstockly:AppleScript:AutoDownloading x::"
If I’m working on a script that has use script line without a version, and I click paste tell from the library’s dictionary the version number is added to the line. (which is nice)
But if the script has a use script with an previous version you end up with two use script lines with different versions. Shouldn’t it replace the line with the older version?