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 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