Re: NSCannotCreateScriptCommandError (10)
Re: NSCannotCreateScriptCommandError (10)
- Subject: Re: NSCannotCreateScriptCommandError (10)
- From: Steve Foster <email@hidden>
- Date: Fri, 17 Dec 2004 13:18:00 +0000
Thanks fellas, the removing of the tell statements did the trick.
I am quite new to Applescript and on a steep learning curve so need to
know as much as possible. Following on from the last question I cannot
understand WHY the tell statement is wrong? Is is a bug or incorrect
coding?
thanks again
Steve
PS Currently downloading the latest version of XCode!
On 16 Dec 2004, at 19:48, Jake Pietrykowski wrote:
What if you remove the surrounding ‘tell’ statement?
on readSettings()
set strTemplates to contents of default entry
"DopTemplatesFolder" of user defaults
end readSettings
I’ve recall some particulars in v1.1. Just an idea...as you requested.
OR maybe what about this... have you declared a global or property
for the strTemplates variable?
property strTemplates : ""
Best luck,
Jake
On 12/16/04 12:19 PM, "Steve Foster" <email@hidden> wrote:
on readSettings()
tell user defaults
set strTemplates to contents of default entry
"DopTemplatesFolder" of user defaults
end tell
end readSettings
Steve Foster
Head of Online Development
email@hidden
01709 364721
01709 515285
http://www.globe-media.com
_______________________________________________
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