why this error under 10.2: Expected expression but found "property"
why this error under 10.2: Expected expression but found "property"
- Subject: why this error under 10.2: Expected expression but found "property"
- From: "Fares BELHAOUAS" <email@hidden>
- Date: Tue, 28 Aug 2007 12:25:25 -0400
Hi everybody,
I am trying to run this apple-script under 10.2 and 10.3, but I have an error that I have not under 10.4
the error is:
Expected _expression_ but found "property"
the script is:
--reset the value of the Home Page
set HomePage to "
http://www.google.com"
set pListpath to "/Users/User1/Library/Preferences/" & "com.apple.internetconfigpriv.plist
"
tell application "System Events"
tell property list file pListpath
get value of property list item "WWWHomePage"
if value of property list item "WWWHomePage" is HomePage then
return
else
set value of property list item "WWWHomePage" to HomePage
end if
end tell
end tell
does anyone know why ?
Thank you all.
--
Fares
Integration New Media
_______________________________________________
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