Re: Finder's "exists" command ignores leading zero's in filename
Re: Finder's "exists" command ignores leading zero's in filename
- Subject: Re: Finder's "exists" command ignores leading zero's in filename
- From: Thomas Fischer <email@hidden>
- Date: Thu, 22 May 2014 19:19:52 +0200
Hello Yvan,Am 22.05.2014 um 17:53 schrieb koenig.yvan: I didn't wrote that the script was unable to open a file defined by a path-string.It's a wrong behaviour but at this time it is always accepted.
I just wrote that exists my_img would always return true because the string my_img exists.
I wanted to convince you that this is not the case. At least on my system (10.6.8) exists my_img
returns false if the file my_img doesn't exist, the same with exists file my_img .
And it is willing and able to create a reference to this file, if it exists after possibly erasing or adding(!) some zeroes in front of the name, provided the first character of the name is a digit.
Best THomas |
_______________________________________________
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