Will it work to:
a) Wait until Acrobat Reader is running
b) Sleep long enough ...

Instead of depending on timing, which will always get messed up when you can least afford it, get a list of the open files from the system.

man lsof

There should be better ways to get the file handle, but you should at least be able to look through the list of open files given by lsof for an instance of your file opened by the process whose id is the acrobat reader you asked to open it.

Reply via email to