• 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: "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

  • Follow-Ups:
    • Re: What is apple script error -1708? And why am I getting it?
      • From: Luther Fuller <email@hidden>
    • Re: What is apple script error -1708? And why am I getting it?
      • From: Jon Pugh <email@hidden>
References: 
 >Re: What is apple script error -1708? And why am I getting it? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: What is apple script error -1708? And why am I getting it?
  • Next by Date: Re: preflight before PDF creation InDesign
  • Previous by thread: Re: 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