• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: refer to current picture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >refer to current picture (From: Robert Poland <email@hidden>)
 >Re: refer to current picture (From: "koenig.yvan" <email@hidden>)
 >Re: refer to current picture (From: Luther Fuller <email@hidden>)
 >Re: refer to current picture (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: refer to current picture
  • Next by Date: Re: refer to current picture
  • Previous by thread: Re: refer to current picture
  • Next by thread: Re: refer to current picture
  • Index(es):
    • Date
    • Thread