StephenP Posted December 18, 2009 Share Posted December 18, 2009 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. Link to comment Share on other sites More sharing options...
StephenP Posted December 18, 2009 Author Share Posted December 18, 2009 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. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 18, 2009 Moderators Share Posted December 18, 2009 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
ReFran Posted December 18, 2009 Share Posted December 18, 2009 Maybe the smal freeware commandline tool PdfToText is a little bit easyer to use. http://www.foolabs.com/xpdf/download.html HTH, Reinhard Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now