>Does anyone know how to launch Acrobat Reader on both Mac and Win from MC?
Try these:
on printPDF
if isAcrobatInstalled()<>"true" then
askInstallAcrobat
else ... (launch file)
end printPDF
on askInstallAcrobat
put "Acrobat Reader is needed to preview and print this document. Do you
want to install the Acrobat Reader on your computer now?" into tStr
get smartAnswer("Adobe Acrobat Reader needs installing",tStr,"Yes","No")
if it="Yes" then installAcrobat
end askInstallAcrobat
on installAcrobat
global g_Volume
set the cursor to watch
set the itemDel to "/"
if the platform is "MacOS" then put g_Volume&"/MM pdf/Acrobat/Reader
Installer" into tAcroPath
else put g_Volume&"/MM pdf/Acrobat/Acrd4enu.exe" into tAcroPath
launch tAcroPath
end installAcrobat
function isAcrobatInstalled
get word 1 to -2 of
queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Document\shell\o
pen\command\")
return it<>""
end isAcrobatInstalled
Hugh Senior
The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.