I’m not entirely sure why your way didn’t work. I think it’s something to do with _tag being a specifier (the i-th tag of _tags) rather than an actual tag. When I write it like this, it seems to work:
Code:
tell application "EagleFiler"
set _tagname to "autorefresh"
set _records to displayed records of browser window 1
try
set _tag to tag _tagname of library document 1
on error
return
end try
repeat with _record in _records
if the assigned tags of _record contains {_tag} then
beep
-- reloadWebPage(_record)
end if
end repeat
end tell