Re: old script fails AND BUG in Smile 3.5.2 (build 609)
Re: old script fails AND BUG in Smile 3.5.2 (build 609)
- Subject: Re: old script fails AND BUG in Smile 3.5.2 (build 609)
- From: Robert Poland <email@hidden>
- Date: Thu, 25 Mar 2010 18:04:07 -0600
Ed,
I've been using the script for over 5 years but I tried changing index to marker, same error.
On Mar 25, 2010, at 5:50 PM, Stockly, Ed wrote:
I’m wondering about using the word “index” as a variable. I know that’s a keyword in some aps
On 3/25/10 4:45 PM, "Robert Poland" wrote:
Luther,
Gets the same error.
On Mar 25, 2010, at 5:39 PM, Luther Fuller wrote:
On Mar 25, 2010, at 4:19 PM, Robert Poland wrote:
OS 10.6.2.
This (portion of) script ,after five years of using it, fails. What has changed?
on run
set myFolder to choose folder
tell me to open {myFolder}
end run
on open (droppedItems)
repeat with index from 1 to the count of droppedItems
-- display dialog (count of droppedItems) & " " & index & " " & droppedItems as string
set currentItem to (item index of droppedItems)
It used to be that the items in a drop list were aliases. But no longer in Snow. They are now class 'bmrk', I think. Try adding as alias after the last line, above, as in ...
set currentItem to (item index of droppedItems) as alias
_______________________________________________
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
Robert Poland - Fort Collins, CO
_______________________________________________
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
Robert Poland - Fort Collins, CO
|
_______________________________________________
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