I do hope all are doing well.
I have an issue I hope someone can shine a light on. I am trying to view pdf's on both IOS and ANDROID mobile platforms. I have checked a couple solutions on the forums but none have been reliable. The current one that comes close to working is having a google embed which works on both platforms but only 80% of the time. Is there a way to make this option consistent? I have added a hander to reset the url on the browser widget when it fails which has slightly improved the failure rate but am really looking for a permanant solution. Any help would be appreciated.
LC- 9.6.11
browser widget
source link
https://stackoverflow.com/questions/74 ... ing-first
Code: Select all
on updateLatestBullet
local tLink
put the url of widget "bullet" of cd "BULLET" into tLink
put the htmltext of widget "bullet" of cd "BULLET" into tResult
if tResult is "<html><head></head><body></body></html>" then
set the url of widget "bullet" of cd "BULLET" to empty
set the HTMLTEXT of widget "bullet" of cd "BULLET" to empty
wait 500 milliseconds with messages
set the url of widget "bullet" of cd "BULLET" to tLink
else
exit updateLatestBullet
end if
end updateLatestBullet