Re: Strange Comment Problem
Re: Strange Comment Problem
- Subject: Re: Strange Comment Problem
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 21 Sep 2009 11:20:09 +0200
Le 21 sept. 2009 à 01:05, Luther Fuller a écrit : I have encountered a very strange problem (in 10.6.1), which, after some hours of searching, I tracked down to this line of code ...
set linkFile to make new alias file at trashPath to imageFileAlias with properties {name:linkName}
The problem is that the alias file created by this line should have NO comment, but had a comment that it could not possibly have. So, I changed the code to ...
set linkFile to make new alias file at trashPath to imageFileAlias with properties {name:linkName, comment:"This_is_a_test"}
just to see what would happen. What happened was a new alias file whose comment is "This_is_a_test", which is what I expected. So I reverted to the original ...
set linkFile to make new alias file at trashPath to imageFileAlias with properties {name:linkName}
and tried again. The comment of the alias file should now be "", but NO!, it's now "This_is_a_test".
Something isn't right here. Am I really required to write ...
... with properties {name:linkName, comment:""}
if I want an empty comment? Where's the elephant that's not forgetting?
Need a bug report. It seems that a buffer is not cleared after use.
Yvan KOENIG (VALLAURIS, France) lundi 21 septembre 2009 11:20:05
|
_______________________________________________
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