Re: Cannot return string from handler
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