I’m trying first time to read xml-file using AppleScript and i’m totally clueless, how its done.
I need to get list/record of Recordings and another list/record of Schedules, and these lists contains all available informantion about Recordings and Schedules.
Macintosh HD:Users:Cirno:Movies:EyeTV:EyeTV Archive:EyeTV Archive.xml
I know how to read/write plist which dont have any “sub-folders” like this file has, but these “sub-folders” confuses me.
It sounds like your only problem is the path to the ‘EyeTV Archive.xml’ file.
This works for me (on Tiger).
tell application "Finder"
set home_path to home as Unicode text
try
open home_path & "Movies:EyeTV:EyeTV Archive:EyeTV Archive.xml" as Unicode text
end try
end tell
Tom
Browser: Camino 1.6
Operating System: Mac OS X (10.4)
Thanks, but my real problem is that i have never before done anything with xml-files and i simply dont know how to extract any information from xml.
I need to get list or record of Recordings and another list or record of Schedules, and these lists contains all available informantion about Recordings and Schedules.