A friendly advice to save yourself trouble next time is to read the docs carefully. TIFF is not mentioned with a single word.
Also this thread has been marked as resolved a long time ago. If you have unrelated follow-up questions I’d suggest starting a new thread. For your particular question, there are tons of posts if you search on the forum, e.g. this one where I explained the differences between entries and tokens. getEntryWithURL
will give you an entry, turn that into a token and pass it to batchPlay.
As a last piece of friendly advice. Start using try/catch and look at your error messages. This would have told you right away that you were calling a non-existent function with “app.activeDocument.saveAs.tif
”