Two periods represent the parent folder of the current folder. For example, the string “./Test.c” represents the Test.c file in the current folder. There is a bug in 10.7 and 10.8 (but not in 10.9 or 10.6) where Finder ignores windows created after the last time focus was moved to another application and back when getting the insertion location property.A single period represents the current folder. Set p to POSIX path of (target of Finder window 1 as alias) If you use 10.7 or 10.8, change tell application "Finder" to set p to POSIX path of (insertion location as alias) to: tell application "Finder" running a command, displaying a man page, or running emacs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |