Sign in to follow this  
Followers 0
StephenP

Save PDF to Text - watching progress bar

4 posts in this topic

I am working with PDFs and need to do a save as text. Some machines have Adobe Acrobat, while others have only Adobe Reader. After a save to text, and completeing the requisite save-as information, Adobe Acrobat 7 displays a progress bar in the status bar. I wait for that control to disappear and then continue. This part works fine.

Adobe Reader 8.1.0 displays a similar progress bar in a small pop-up but I can't see to identify that popup as a control. Active Window Info seems to report only on the window underneath the progress bar.

Ideally I would like to wait for the progress control to go away. I guess I could do something like try to rename, or move it - failing until the Adobe save as is complete.

Any ideas on the control, or alternative ways to solve this would be appreciated.

Thanks

BTW- after 3 years of working with AutoIt this is my first post here. ;)

Share this post


Link to post
Share on other sites



Solved the immediate problem with a combination of

winclose("Adobe Reader")

Winwaitclose("Adobe Reader","",30)

Now I just hope that I don't get something bigger than 30 seconds to save as...

Still looking for a way to get the information about the control that Reader pops up during the save.

Share this post


Link to post
Share on other sites

StephenP,

You mind find this post of interest. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Maybe the smal freeware commandline tool PdfToText is a little bit easyer to use.

http://www.foolabs.com/xpdf/download.html

HTH, Reinhard

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0