Re: What is apple script error -1708? And why am I getting it?
Re: What is apple script error -1708? And why am I getting it?
- Subject: Re: What is apple script error -1708? And why am I getting it?
- From: "OSullivan, Steven" <email@hidden>
- Date: Wed, 15 Jul 2009 10:14:21 -0700
- Thread-topic: What is apple script error -1708? And why am I getting it?
Title: Re: What is apple script error -1708? And why am I getting it?
Hello again (yes, this is going to be one of those days....),
I have stripped my script down to the following (using suggestions by a couple of contributors--thanks!) and I still am getting an apple script error -1708.
Does anyone know what that error number (-1708) represents?
Regards to all,
Steve O'Sullivan
-- begin script
property plistString : "This is da BOMB!"
-- I am expecting that this will pull my data from the plist file,
-- and then return that string value for use by the on run handler
on readKey()
-- set plistPath to (path to me as text) & "Contents:Resources:test.plist"
set plistPath to (path to me as text) & "test.plist"
tell application "System Events"
return (property list item "myString" of property list file plistPath)
end tell
end readKey
on run()
set contents of text field "myList" of window 1 to readKey()
end run
-- end script
On 7/15/09 9:56 AM, "Luther Fuller" <email@hidden> wrote:
set filePath to ((path to me) as text) & "test.plist"
_______________________________________________
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