Re: Bug or Spec ?
Re: Bug or Spec ?
- Subject: Re: Bug or Spec ?
- From: Takaaki Naganoya <email@hidden>
- Date: Mon, 13 Nov 2017 23:04:35 +0900
> 2017/11/13 22:17、Nigel Garvey <email@hidden>のメール:
>
> Takaaki Naganoya wrote on Mon, 13 Nov 2017 16:05:31 +0900:
>
>> 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.
>
>> <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>
>
> The second dialog says "true" on my 10.13.1 system, even without the
> 'delay'. This suggests that what you're seeing is either unique to
> 10.13.2 or possibly something to do with APFS (if your machine uses
> that).
The original questioner is @avela13 on Twitter. I confirmed his post and found
his question is true.
My testing environment is MacBook Air 2011. So, its SSD uses APFS.
The meaningless delay is to exclude the APFS’s original feature such as delayed
command execution.
Thank You.
--
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