Jump to content

Recommended Posts

Posted

I'm trying to click checkboxes in a PDF that is loaded in a webpage.
I've tried to use both SENDkeys and MOUSEclicks by x-y coordinates.

Neither work well. Alignments, screen orientation, toolbars cause coordinates to move.

SENDkeys doesn't reliably tab thru fields to get to the correct checkboxes.

The info tool doesn't distinguish the checkbox controls. They are all:
[CLASS:AVL_AVView; INSTANCE:15]
 

What is the best tool to click checkboxes in a PDF?
thanks!
Phil

 

 

Posted

Why exactly you are trying to do this ?

Long time ago I was trying something similar.
Finally I have many workarounds to many things.

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 9/10/2015 at 10:30 PM, mLipok said:

Why exactly you are trying to do this ?

I'm filling out a form automatically so that our workers don't have to.

The form has about 100 fields but only 3 need to be filled in. Then a submit button needs to be clicked at the bottom of the form.

 

Posted

look in my signature for Debenu Quick PDF UDF.

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

There is lite version, but very limited, and feature which you ask is in commercial.
But, trust me, I do not see any other way to do this kind of trick, without any other tools like Debenu Quick PDF Library.

mLipok

Edit:
of course you can write your own tool, even in AutoIt, but the cost of doing that will be significantly higher then buying other tools.

 

Edit2:
and the other problem is :
If your PDF is embeded inside Internet Explorer, then I do not know how to get reference to this PDF :)
This would be much easiest if this PDF was located on disc and then uploaded to the IE Page.

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 9/12/2015 at 4:19 AM, mLipok said:

...

Edit2:
and the other problem is :
If your PDF is embeded inside Internet Explorer, then I do not know how to get reference to this PDF :)
This would be much easiest if this PDF was located on disc and then uploaded to the IE Page.

Does that mean that even the commercial product would not work?

Posted (edited)

No that mean if you get reference to PDF it could work.

EDIT:

http://www.quickpdf.org/forum/topic3177_post12713.html#12713

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

First I need some info.

  On 9/10/2015 at 7:03 PM, philkryder said:

I'm trying to click checkboxes in a PDF that is loaded in a webpage.

Is it Acrobat Reader embeded in Internet Explorer ?

Does the PDF opens in a separate tab ?

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

I open a website with IECREATE.

It is confidential data, so sorry, I can't share it.

After navigating through several IE pages, I click a link which opens a PDF template within IE.
It does NOT open in a separate window or tab.

After filling in the PDF, I click a SUBMIT button at the bottom and the website  returns to an HTML page.

I hope that answers your questions.
I don't know what it means to be "embedded" in IE. The window still says IE; but, I can't use the IE controls to navigate or click on it. I use mouse moves and clicks and key sends which are unreliable.

 

thanks for your help. Phil

 

Posted

This submit button is in HTML or in PDF ?

Can you back from PDF to IE with _IE... Functions ?

 

  On 9/21/2015 at 8:08 AM, philkryder said:

I don't know what it means to be "embedded" in IE. The window still says IE; but, I can't use the IE controls to navigate or click on it. I use mouse moves and clicks and key sends which are unreliable.

Embeded mean PDF inside IE - not outside.

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

Submit button is in PDF ??

This mean in PDF is JavaScript which for example can only read FormFiled from PDF and send only XML or any other data but not entire PDF ? 

Am I right ?
 

EDIT:
http://www.w3.org/TR/WCAG20-TECHS/PDF15.html

 

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

Is this something like this:

http://www.nk-inc.com/software/pdfemail.net/examples/default.aspx

 

EDIT:  I mean: Click in Example #2

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Can you try to find other example over the net ?

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 9/21/2015 at 9:21 PM, philkryder said:

Yes, it is similar - but no email is involved. The pdf is saved on the server side and printed.

Is this PDF in the URL bar every time has a different name ?
Is the file name is known ?

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Is this URL also contains the name of the PDF file ?
In that case it should be possible to find this PDF on your disc, fill it and post it back to server.

But you must:

  1. connect to this page via winhttp
  2. find PDF on your disc, or just get it via winhttp
  3. use QPDF to change the PDF file
  4. submit it back to website .. again via winhttp

But I'm not quite sure as you have never done before.

mLipok

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...