• 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
old script fails AND BUG in Smile 3.5.2 (build 609)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

old script fails AND BUG in Smile 3.5.2 (build 609)


  • Subject: old script fails AND BUG in Smile 3.5.2 (build 609)
  • From: Robert Poland <email@hidden>
  • Date: Thu, 25 Mar 2010 15:19:11 -0600

Hi,

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)
tell application "Finder" to set theKind to kind of currentItem


-- display dialog theKind as string


if theKind is not "Folder" then
ignoring application responses
say "Only folders are allowed."
end ignoring
tell application "System Events"
activate
display dialog "Only folders are allowed!" buttons {"OK"} default button "OK" giving up after 10
end tell
-- return -- quit
end if
beep 2
end repeat
beep
end open

AND A BUG IN Smile;

with Line wrap set to "fit to window" it does NOT fit.


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

  • Follow-Ups:
    • Re: old script fails AND BUG in Smile 3.5.2 (build 609)
      • From: Yvan KOENIG <email@hidden>
    • Unwanted Response
      • From: Luther Fuller <email@hidden>
    • Re: old script fails AND BUG in Smile 3.5.2 (build 609)
      • From: Luther Fuller <email@hidden>
    • Re: old script fails AND BUG in Smile 3.5.2 (build 609)
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: coerce record to string - does this work in other System languages?
  • Next by Date: Re: coerce record to string - does this work in other System languages?
  • Previous by thread: RE: record to string - does this work in other System languages?
  • Next by thread: Re: old script fails AND BUG in Smile 3.5.2 (build 609)
  • Index(es):
    • Date
    • Thread