brokenzeus wrote: ↑Sun Nov 24, 2019 11:38 am
I saved the page and compressed it to .zip and uploaded it. As you will on the page it's just code of some sort that needs to be pasted in the text box of the other page.
Alright, good-good...! Thanks for the Upload, that's "easier" then...!
A bit "surprised" that your "page2" has no File Extension, I would have "expected" some ".html" or ".htm" or even some ".json" or ".xml" or ".txt", but anyway...
And some good News, the Script you had posted earlier works just fine for me, same with my slightly modified one after that, and even absolutely all Variations "we" did with:
Code: Select all
TAG POS=1 TYPE=PRE ATTR=TXT:* EXTRACT=TXT
Code: Select all
TAG POS=1 TYPE=PRE ATTR=TXT:*results*metadata* EXTRACT=TXT
Code: Select all
TAG POS=1 TYPE=* ATTR=TXT:*results*metadata* EXTRACT=TXT
=> They all work fine...!
I tested in the following 2 FCI's:
- iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.
- iMacros for CR v10.0.5 'Free', CR76, Win10_x64.
=> Yep, I'm "still" at CR76 because I consider that CR behaves like Malware and cannot be "trusted" as "they" (= 'Google') couldn't even give a "proper" Name to their Browser Updater (=> "Google Updater"...!?
), "Google" is a Search Engine for me, and simply checking if by any chance there is maybe a new(er) Version of the Browser already requires Local Admin Rights that that Updater then abusively misuses to install several extra '.EXE's and Processes and Services that I each time need to clean up afterwards...
With iMacros for FF, because the Page/File is pretty large (155Kb) and I didn't really "pay attention", the 'EXTRACT' took several Minutes, more than 3 Min, up to maybe 5 Min..., easily prevented with "SET !EXTRACT_TEST_POPUP NO". (But iMacros for CR doesn't "suffer" from this Lag...)
So, OK, here is the "most generic" Script I used to do my Testing, I removed the 'FORM' Parameter, which is not really needed, and "your" "FORM=ACTION:+URL" was not working for me...:
Code: Select all
VERSION BUILD=8820413 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
TAB T=1
URL GOTO=https://kultoical.dries007.net/
TAG POS=1 TYPE=INPUT:DATE ATTR=ID:start CONTENT=2019-11-01
TAG POS=1 TYPE=INPUT:DATE ATTR=ID:end CONTENT=2020-01-31
TAG POS=1 TYPE=BUTTON ATTR=TXT:Next
TAG POS=1 TYPE=A ATTR=TXT:https://webwsp.aps.kuleuven.be/sap/opu/odata/sap/zc_ep_sched*
TAB T=2
'URL GOTO=file:///D:/TEMP/iMacros/Temp/_Forum%20Cases/brokenzeus/Page2/Page2
'Recorded:
'TAG POS=1 TYPE=PRE ATTR=TXT:{"d":{"results":[{"__metadata":{"id":"https://WEBWSP.APS.KUL*
'>
TAG POS=1 TYPE=PRE ATTR=TXT:* EXTRACT=TXT
TAB T=1
TAG POS=1 TYPE=TEXTAREA ATTR=ID:json CONTENT={{!EXTRACT}}
I already had 'Page2' pre-loaded in 'TAB_2', and I disabled the Click on the Link, but you'll need to re-enable it for you... Hum, OK, I've already re-enabled it for you...
OK..., stg that could play a Role for you, because of this 'Page2' with no Extension, and I don't know if you've removed it when saving/zipping it, or maybe the Page gets indeed generated locally,
but make sure you have "Allow access to file URLs" enabled in the iMacros Settings at:
Code: Select all
chrome://extensions/?id=cplklnmnlbnpmjogncfgfijoopmnlemp
>>>
Alternately, the following Script also works "for me" in v8.8.2 for FF, with a different Implementation using the 'EVENT' Mode and the OS Clipboard, but it doesn't work in v10.0.5 for CR which doesn't support the 'MODIFIERS' Param nor pasting from the Clipboard with '{{!CLIPBOARD}}'...:
Code: Select all
VERSION BUILD=8820413 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
TAB T=1
URL GOTO=https://kultoical.dries007.net/
TAG POS=1 TYPE=INPUT:DATE ATTR=ID:start CONTENT=2019-11-01
TAG POS=1 TYPE=INPUT:DATE ATTR=ID:end CONTENT=2020-01-31
TAG POS=1 TYPE=BUTTON ATTR=TXT:Next
TAG POS=1 TYPE=A ATTR=TXT:https://webwsp.aps.kuleuven.be/sap/opu/odata/sap/zc_ep_sched*
TAB T=2
'URL GOTO=file:///D:/TEMP/iMacros/Temp/_Forum%20Cases/brokenzeus/Page2/Page2
'Recorded:
'TAG POS=1 TYPE=PRE ATTR=TXT:{"d":{"results":[{"__metadata":{"id":"https://WEBWSP.APS.KUL*
'>
'TAG POS=1 TYPE=PRE ATTR=TXT:* EXTRACT=TXT
'>
'EVENT TYPE=CLICK SELECTOR="HTML>BODY>PRE" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY" CHARS="ac" MODIFIERS="Ctrl"
TAB T=1
'TAG POS=1 TYPE=TEXTAREA ATTR=ID:json CONTENT={{!EXTRACT}}
'>
TAG POS=1 TYPE=TEXTAREA ATTR=ID:json CONTENT={{!CLIPBOARD}}
You can give it a Try, but it won't work for you, ah-ah...!
But it would work for you for example in iMacros for FF v8.9.7, FF v55.0.3, MacOS, and you would need to replace my "MODIFIERS="Ctrl"" with "MODIFIERS="Meta"" as you are on MacOS (and I'm on Win10)...
>>>
You can remove your Attachment if you want, I now already/still have it if I need to do some further Checking/Testing..., as it contains a bit of some "personal" Info and some Internal URL's to your 'KUL' Site...
Hum, and funny, I thought you spoke French in Leuven, some good Friend of mine (in Amsterdam) is going to further study in Leuven from Feb. next year (2020), planning to find a Place to live in BXL actually, and she speaks much better French than Dutch, and I have the "Feeling" she thinks/thought "they" (also) spoke French in Leuven..., but maybe her Study is part of some International Study in English, I don't know...
- (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...