• 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: Cannot return string from handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot return string from handler


  • Subject: Re: Cannot return string from handler
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 5 May 2006 07:41:00 -0700


On May 5, 2006, at 4:53 AM, Ruth Bygrave wrote:

on init
tell application "Finder"
if disk "Disgo" exists
set myTarget to "Disgo"
end if
return myTarget
end init

You need a pair of parentheses after "on init" You don't have an "end tell" to pair with 'tell application "Finder"'

-- "In Chico, California you'll find Velveeta in the gourmet section." --Herb Caen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cannot return string from handler (From: Ruth Bygrave <email@hidden>)

  • Prev by Date: Re: Cannot return string from handler
  • Next by Date: Powerpoint 255 character limit
  • Previous by thread: Re: Cannot return string from handler
  • Next by thread: Re: Cannot return string from handler
  • Index(es):
    • Date
    • Thread