ccvle wrote:Code: Select all
IE = 11.09600.18893
IMACROS=12.0501.6698
Hi, I would appreciate if someone can help me figure this one out or lead me to the where i can read additional materials so i can figure out myself.
Currently after the last command, a pop up window will pop up and reveal the available documents to download. The problems are 1) the POS is different everytime. I know how to use relative position, but I can't figure out what is the anchor to use. 2)the biggest problem is, even if I know the TAG POS to use for the download link, when I enter that command to the Imacros, it wouldn't do anything. For example, in the example provided below, I used Imacros recording function to figure out the command for the download link is TAG POS=19 TYPE=TD ATTR=* , but when I manually enter the command in the script before, it didn't do anything.
Code: Select all
SET !ERRORIGNORE YES
TAB T=1
URL GOTO=https://ccfs.sos.wa.gov/#/Home
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:UBINumber CONTENT=604140761
TAG POS=1 TYPE=BUTTON:SUBMIT ATTR=TXT:Search
TAG POS=1 TYPE=TD ATTR=CLASS:ng-binding
TAG POS=R-1 TYPE=A ATTR=TXT:*
SET !TIMEOUT_STEP 1
TAG POS=1 TYPE=INPUT:BUTTON ATTR=ID:btnFilingHistory
TAG POS=1 TYPE=TD ATTR=TXT:Initial*
TAG POS=R1 TYPE=A ATTR=TXT:View<SP>Documents
ccvle wrote:I'm going to change my question because I figured out how to download the file. I change used relative position and change the command from type=TD to Type=I. The question I have now is, I cant get the file to preview in IE , so I cant use the ondownload command to rename the file before saving. If I cant get PDF to preview in IE, is there a way to extract the file name ? that way I can know which file is associated with which search result.
Okay, but hum, I thought you had understood my "CIM" from your previous/first Thread, which would now in this Thread become "FCIM", and the "F" stands for "FULL"..., with all Explanation in my Sig...
=> FCIM...!
Sorry but make it reach your "Central Management Thinking System", I don't react/help for Threads where FCI is not mentioned, even if you think that some part(s) is/are not needed, I don't care as I don't read otherwise...!, OS is missing for example from your FCI, and for a Thread about "Download PDF", then yep, OS can play a Role...!, Downloading requires FIO (Local File I/O), and FIO involves OS... Hum, and especially for PDF Files, such Files with '.pdf'/'.xls'/etc Extensions get handled differently at the OS-Level, so OS definitely plays or can play a Role in your Case...
Even if I can often "deduct" that Info from a Screenshot or a Path (or some previous Thread(s)), but that Info belongs directly in your OP when you open a Thread without me having to play "little Detective" to find it out...
Hum, and I see iMB v12.0, your previous Thread was from more than 30 days ago, you were using iMB v12.0 Trial then, you need to mention as well if you switched/upgraded in the meantime to iMB v12.0 Professional/Enterprise Edition or if you are still using the Trial Version...?
Hum, Trial I guess or you would be asking your Qt directly to TechSup and not on the Forum if you had any Commercial Edition as you then get (Direct) Access to TechSup..., but pfff..., you need to mention that Info directly and proactively without me having to ask the "correct Qt's"...
(And don't worry, I don't care if you are still using some Trial Version even after more than 30 days, I'm not affiliated with iOpus/Ipswitch (and I'm often the first one to "bash" them, ah-ah...!), I only care about helping Users (who use the Forum "a bit correctly") and to provide a bit of "Quality" Threads on the Forum...
My main Motivation actually to help Users on the Forum is because of the (semi) "Open Source"/Free Aspect of the 3 Add-ons for FF/IE/CR..., hum even if that's (the "Free" part) since recently not completely the case anymore for CR...
)
Yeah well, I sometimes "say stg" when some "funny" User starts complaining about "the Software" not meeting their "Expectations" or stg like that, while they've been using the Trial Version for already 1.5 or 2 years, then yep, I usually find such Users "funny" and I might make some "funny"/"ironicosarcastic" Remark in my "Creative Style" about it, ah-ah...!
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...