Thanks to all the great support I've had on this forum, I have my first AutoIt script working well. Now I would like to be able to free my script from its dependence on a hard-wired path to the Adobe Acrobat PDF reader. Currently, I have the path defined in a variable I use in subsequent Run statements.
Is there some sort of function that will allow me to query Windows with "AcroRd32.exe" and get the full pathname to that executable?
I'd like to be able to distribute the script to my friends, but can't be sure their AcroRD32.exe will be installed in the same directory.
Any guidance, advice or suggestions will be greatly appreciated.
Thanks!