Re: refer to current picture
Re: refer to current picture
- Subject: Re: refer to current picture
- From: Luther Fuller <email@hidden>
- Date: Sun, 05 Aug 2012 15:32:29 -0500
On Aug 5, 2012, at 2:56 PM, Simon Topliss wrote: On 5 Aug 2012, at 18:23, Luther Fuller < email@hidden> wrote: On Aug 5, 2012, at 11:42 AM, koenig.yvan wrote: In the open handler, droppedItem is a list of alias.
Try this script ...
on open dropList tell application "Finder" set dropItem to (item 1 of dropList) -- as alias set itemClass to (class of dropItem) as text --> bmrk display dialog itemClass end tell end open
What is the role of the "Finder" block here, Luther? Why are the 3 statements within it?
You don't need the tell application "Finder" in this script. It's there because I was experimenting with various other statements that needed it.
The statements within indicate that dropList is a list of type 'bookmark' (bmrk), not of type 'alias'.
In my opinion, this is a really bad bug and it should return a list of aliases.
|
_______________________________________________
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