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: Luther Fuller <email@hidden>
- Date: Wed, 15 Jul 2009 11:56:47 -0500
On Jul 15, 2009, at 11:23 AM, OSullivan, Steven wrote: 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. -- begin script property plistString : "This is da BOMB!" on readPlist() fileAlias = (path to me) & "test.plist" as alias
That won't work. You can use ...
set filePath to ((path to me) as text) & "test.plist"
to get a path string directly, or use this ...
set fileAlias to (item "test.plist" of (path to me)) as alias set filePath to fileAlias as text .
|
_______________________________________________
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