What is apple script error -1708? And why am I getting it?
What is apple script error -1708? And why am I getting it?
- Subject: What is apple script error -1708? And why am I getting it?
- From: "OSullivan, Steven" <email@hidden>
- Date: Wed, 15 Jul 2009 09:23:53 -0700
- Thread-topic: What is apple script error -1708? And why am I getting it?
Title: What is apple script error -1708? And why am I getting it?
Greetings all,
I am attempting to run this script through AppleScript Studio (3.1.3, OS X 10.5.7 Intel) and when it runs, I immediately get an AppleScript error -1708.
myLabel is a Label text field that is on my interface, and it is attached to this script, and is named what you'd expect, "myLabel".
I am hoping that this error is within the script itself (I can find no listing of this error on the web so far) and not due to some larger interaction between the components of the project itself.
Thanks for any and all assistance!
TIA,
Steve O'Sullivan
-- begin script
property plistString : "This is da BOMB!"
on readPlist()
fileAlias = (path to me) & "test.plist" as alias
tell application "System Events"
fileAlias as text
set fileRecord to (value of property list file the result)
end tell
end readPlist
on readKey()
tell application "System Events"
fileAlias = (path to me) & "test.plist" as alias
return of property list item "myString" of property list file the result
end tell
end readKey
on run
set contents of text field "myLabel" of window 1 to readKey()
end run
-- end script
_______________________________________________
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