Re: Puzzle Of the Day
Re: Puzzle Of the Day
- Subject: Re: Puzzle Of the Day
- From: "R. Nelson Byrne" <email@hidden>
- Date: Fri, 20 Aug 2010 17:46:53 -0700
Thanks Ed,
Now back to my original problem…
Regards,
Nelson
On Aug 20, 2010, at 3:17 PM, "email@hidden" <email@hidden> wrote:
> Try this:
>
>
> repeat with aJpg in MyPODjpgs
> log (aJpg as item is bjpg)
>
> What I think is happening is the log command is not dereferencing ajpg so it's comparing a reference to a list item to an alias.
>
> As for the log not recording the tell/end tell properly, I think that's a bug. You should file a report.
>
> ES
>
> On Aug 20, 2010, at 2:15pm, R. Nelson Byrne wrote:
>
>> alias "Miele HD:Users:rnb:Desktop:Trim me:" returning MyPODfolder
>>
>> tell application "Finder" to get (files of MyPODfolder whose name ends with "jpg") as alias list returning MyPODjpgs
>>
>> alias "Miele HD:Users:rnb:Desktop:Trim me:A photo.jpg" returning bjpg
>>
>> repeat with ajpg in MyPODjpgs
>> log (ajpg is bjpg)
>> log {"ajpg: ", ajpg}
>> log {"bjpg: ", bjpg}
>> log {"Class of ajpg: ", class of ajpg}
>> log {"Class of bjpg: ", class of bjpg}
>> exit repeat
>> end repeat
>> -----------------------------------------
>
_______________________________________________
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