• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Library Confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Library Confusion


  • Subject: Library Confusion
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 07 Oct 2014 13:00:53 -0500

I have just noticed a problem or bug in Mavericks (10.9.5).
Here is the test script ...

tell application "Finder"
activate
set selList to get selection
if (count items of selList) ≠ 1 then return
end tell
set folderAlias to (item 1 of selList) as alias
log folderAlias as text

I ran this script from AppleScript Editor with various selections
and obtained these results:

1.
If the selection is any item except StartupDisk:System:Library:
the correct path is logged.

2.
However, if the folder Library within the folder System is selected
then the script logs the incorrect path
StartupDisk:Library:

This explains why I was getting an incorrect response from another script I was trying to run.

Does it explain any strange responses you have obtained ?



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Library Confusion
      • From: Luther Fuller <email@hidden>
    • Re: Library Confusion
      • From: Luther Fuller <email@hidden>
    • Re: Library Confusion
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Setting Finder Column width
  • Next by Date: Re: OFF TOPIC: Shell Shock for my system MacOS 10.6.8 bash version
  • Previous by thread: Re: App launch help
  • Next by thread: Re: Library Confusion
  • Index(es):
    • Date
    • Thread