Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why this error under 10.2: Expected expression but found "property"



On Aug 28, 2007, at 9:25 AM, Fares BELHAOUAS wrote:

tell application "System Events"
        tell property list file pListpath
<snip>
does anyone know why ?

I thin, but am not sure, that the property list suite was added only in 10.4.


BTW, instead of this:
set pListpath to "/Users/User1/Library/Preferences/" & "com.apple.internetconfigpriv.plist"


You can use this instead:
path to preferences folder as text & "com.apple.internetconfigpriv.plist"


-- Michelle

--
You can not change the world without perforce changing yourself.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >why this error under 10.2: Expected expression but found "property" (From: "Fares BELHAOUAS" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.