• 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 12:23:23 -0500

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

The dialog will always show "bmrk".
When using items in dropList, you should always convert the item to an alias.
(That is ... uncomment the 'as alias' in the first line.)


 _______________________________________________
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

  • Follow-Ups:
    • Re: refer to current picture
      • From: Simon Topliss <email@hidden>
References: 
 >refer to current picture (From: Robert Poland <email@hidden>)
 >Re: refer to current picture (From: "koenig.yvan" <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