• 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
Bug or Spec ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug or Spec ?


  • Subject: Bug or Spec ?
  • From: Takaaki Naganoya <email@hidden>
  • Date: Mon, 13 Nov 2017 16:05:31 +0900

I know about macOS 10.13 can not detect file existence after renaming via
Finder.

This code change the name of your selected file and check the existence.

On macOS 10.12.6, this code runs as we expected (true).
On macOS 10.13.2 beta2, this code returns “false" on the second dialog.


(1) This is Finder or alias manager’s bug.
(2) This is normal behavior of APFS

I can not make a judgement about this.


<AppleScript>
set aa to choose file

tell application "Finder"
        set a1 to (exists of aa) as string
        set a2 to (class of aa) as string
        set a3 to (name of aa) as string

        display dialog a1 & "-" & a2 & "-" & a3

        set name of aa to "changed4"

        delay 60

        set b1 to (exists of aa) as string
        display dialog b1

end tell
</AppleScript>

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/



 _______________________________________________
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: Bug or Spec ?
      • From: Deivy Petrescu <email@hidden>
    • Re: Bug or Spec ?
      • From: Shane Stanley <email@hidden>
    • Re: Bug or Spec ?
      • From: Takaaki Naganoya <email@hidden>
  • Prev by Date: Satimage Smile on High Sierra?
  • Next by Date: Re: Bug or Spec ?
  • Previous by thread: Satimage Smile on High Sierra?
  • Next by thread: Re: Bug or Spec ?
  • Index(es):
    • Date
    • Thread