Re: scope problem
Re: scope problem
- Subject: Re: scope problem
- From: Ed Stockly <email@hidden>
- Date: Thu, 28 Aug 2008 19:51:53 -0700
I think we need more information before we can help you with this
script.
How is script being called?
How is parseInfo being called?
Where is the variable fileName defined and what is its class?
ES
On Aug 28, 2008, at 5:28 PM, tom wible wrote:
this code:
to getParentOf(path)
set AppleScript's text item delimiters to "/"
try
set pPath to text items 2 thru -2 of path
set pPath to pPath as string
end try
set AppleScript's text item delimiters to ""
return pPath
end getParentOf
script etvClass
property parent : recClass
to parseInfo(interactive)
set eyeBundle to getParentOf(my fileName)
give this error:
(*«script» doesn't understand the getParentOf message.*)
obviously i'm ignorant of the finer points of applescript scoping...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40aol.com
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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