• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is apple script error -1708? And why am I getting it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: What is apple script error -1708? And why am I getting it?
      • From: "OSullivan, Steven" <email@hidden>
References: 
 >What is apple script error -1708? And why am I getting it? (From: "OSullivan, Steven" <email@hidden>)

  • Prev by Date: What is apple script error -1708? And why am I getting it?
  • Next by Date: Re: What is apple script error -1708? And why am I getting it?
  • Previous by thread: What is apple script error -1708? And why am I getting it?
  • Next by thread: Re: What is apple script error -1708? And why am I getting it?
  • Index(es):
    • Date
    • Thread