Detecting PDF Download - download

I have recently added functionality for generating pdf reports to a web application. However the reports can be quite large and take some time to show the pdf download dialog. I want to show a spinner until the report is ready but have no way of knowing when the dialog appears.
any suggestions would be much appreciated.
thanks,
shawn

Related

UiPath cannot click Chrome inspect feature "accessibility checker"

I have to automate on button "Accessibility Checker" which will come after inspecting the web page as shown in the picture. Please suggest me how to automate this as of now I am using UiPath, but that is not working (not able to select a correct Selector).
As far as I know chrome is a bit tricky since it has a lot more background updates than other browsers. So use something like IE if you can. Other than that, you can use anchor base activity with image activities. I get accurate results with that solution on cases where I am not able to use clicks.

Fore a file to only open in adobe acrobat

I have a pdf that needs to only be opened using acrobat. This is easy enough on a configured computer. But is there a way to only allow this file to be opened using adobe regardless of what the default program is. I have a lot of computers in my firm and I have to configure app defaults for every user. If I could just force the file to require acrobat that would be awesome.
No, there is no way to indicate that a PDF should only be opened with a particular PDF viewing application. You would not even be able to rely on JavaScript in the PDF to put up a dialog to let the user know they should view the document in Adobe Acrobat because not all PDF viewers implement JavaScript.
The closest thing I can think of would be to use a rights management tool that only Adobe Acrobat works with, even this though is not guaranteed to stop users from trying to open a PDF with a viewer other than the one you want them to view it with.
PDF's goal/purpose is to provide a file format the allows the author to share content across platforms without noticeable differences. What you are looking to do is something PDF was not truly designed for.

Pasting an image directly from a client clipboard

We have a need to allow application users to paste images into WYSIWYG from. Our front-end runs in IE 11. In cases when the image in case is actually a screen capture we really do not want to force users to first save and then upload it. It should be pasted directly (at least in terms of user experience) from Windows clipboard.
I was thinking of creating our own Image plug-in for CKEditor, but not sure if what we want is actually doable.
For example, CanIUse warns that
Internet Explorer will display a security prompt for access to the OS
clipboard
Not sure what other difficulties we might face due to JavaScript guarding end-user file systems and other resources.
Since CK Editor site refers to SO for support, I hope that someone here might be able to enlighten me.
CKEditor 4.5 supports that. Test their demo.

Where can I get images for a 'loading' progress bar?

I am building a site with jquery. This site is all about numbers, statistics and progress so I created it mostly with progress bar to indicate the totals. At the moment I changed the progress bar into different colors, but am wondering if anyone knows a site where I can find nice images for the progress bar? I have searched google but can't seem to find any descent one.
Please help.
thanks.
You can generate a large variety of basic animated "waiting" icons on http://www.ajaxload.info
For more complex ones, try http://preloaders.net or http://www.loadinfo.net
Maybe try an open source Windoze installer such as NSIS http://nsis.sourceforge.net and it's associated plugins such as http://nsis.sourceforge.net/LoadingBar_UI ?

Dashcode question - OnClick image to fullscreen?

I have a web app I'm building in Dashcode, currently every thing is working as advertised. I'm using the browser template and was able to modify it a bit, got the xml working to connect images and their description. Now I want to add a simple OnClick event that sends the image to fullscreen but I can't find any documentation for that. I'm pretty sure this is easily done so I'm missing something here? Any help greatly appreciated.
Tom
Taking over the screen is a bit complicated (if your talking about a full screen experience like youtube), but full screen in the browser window is defiantly possible. The simplest method is to have the click event open a link to the image location. This would load the image in full resolution in the browser window. A more elegant approach would be to load the image url into the source of a image dashcode object. and have that objects visibility only appear overs the whole web app when the Oncick event occurs. If you are talking about a built in function in dashcode to achieve a full screen/browser image, your out of luck.

Resources