problem scripting eyetv
problem scripting eyetv
- Subject: problem scripting eyetv
- From: tom wible <email@hidden>
- Date: Mon, 25 Aug 2008 20:12:06 -0400
i'm trying to extract info for a particular recording: i have the eyetv bundle
filename: "Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv"
tell application "EyeTV"
with timeout of 3 seconds
set eyeTVrec to recordings whose location contains my eyeBundle
...
but all i get is:
EyeTV got an error: Can't get every recording whose location contains eyeBundle
of «script».
if i run the same code in a test script (not my humongous .app)
set eyeBundle to "Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv"
tell application "EyeTV"
with timeout of 3 seconds
set eyeTVrec to recordings whose location contains my eyeBundle
repeat with rec in eyeTVrec
rec's location
end repeat
end timeout
end tell
there's no problem:
tell application "EyeTV"
get every recording whose location contains "Exploring Space_ The Quest for
Life - 3_7_07 8_05 PM.eyetv"
{recording id 1.95008719E+8}
get location of recording id 1.95008719E+8
file "toms160gB:Users:Shared:DVR:renamedRecs:EyeTV Archive:Exploring Space_
The Quest for Life - 3_7_07 8_05 PM.eyetv:000000000b9f98cf.eyetvr"
end tell
can i buy a clue here?
_______________________________________________
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