Finder's "exists" command ignores leading zero's in filename
Finder's "exists" command ignores leading zero's in filename
- Subject: Finder's "exists" command ignores leading zero's in filename
- From: Bert Groeneveld <email@hidden>
- Date: Thu, 22 May 2014 16:01:45 +0200
set path_to_desktop to path to desktop folder set my_img to path_to_desktop & "2028.jpg" as string tell application "Finder" set file_found to exists my_img end tell
When I change the name of the file on the desktop from "2028.jpg" into "002028.jpg" I hope to receive false as the result from above script, but the result is still true. It seems that the leading zero's are ignored. How can I fix that?
Thanks in advance for any help, Bert. |
_______________________________________________
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