Strange Comment Problem
Strange Comment Problem
- Subject: Strange Comment Problem
- From: Luther Fuller <email@hidden>
- Date: Sun, 20 Sep 2009 18:05:37 -0500
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?
|
_______________________________________________
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