newmember wrote:Yes, I don't understand everything you said
Thank you very detailed explaining. I will try myself
Yep, I realize, but it comes from the Site which has a complex HTML Structure to reach this Horizontal/Vertical Presentation in a Mouseover in Variable Lengths for the Number of Letters within a same "Group of Letters" and for the Number of Groups within a same Sentence...
Maybe you or some other (Advanced) User will come up with a more simple Method than mine, and you start digging into the Code and post it once you've already started and really get stuck, then I'm willing to help you further...
If you go using (some parts of) my Method, here are already a few Threads that might help you understand the few Techniques I mentioned, with working Examples I previously posted:
-
Re: Number of Options in a Select tag (About using the Length of the Array on 'split()' to determine the Number of 'Groups of Letters' in a Sentence...)
-
Re: How to extract a variable number (On how I use 'EVAL()' + a Double 'split()' to isolate some (Dynamic) Data from some 'EXTRACT'. (Is 'TXT' in that Example, but it's the same Principle for 'HTM'...)
The only (extra) Difficulty in this last Thread will be handling the Single Quotes using a mix of (Escaped) Double Quotes and Single Quotes either directly in the 'split()' or with an extra 'replace()' as I always (try to) use Single Quotes in my Examples if possible, instead of the "official" way with Escaped Double Quotes...
>>>
Hum..., interesting Case I said, ah-ah...!, I'm actually thinking of another Method that I previously used in another Thread that might be a bit more simple (even if it was qualified of "ingenious" by the User in that Thread,
), where I used a Double Extraction on 2 or the same URL(s) to compare them for some further Conditional Logic...
In your Case it would be a Double Extraction on each 'SPAN' Element (= Group of Letters) on 'HTM' to get the Info from the Mouseover and on 'TXT' to get the Chinese Letters to reuse with 'EVAL()' in the 'HTM' Extract to relatively locate the Data you are interested in, with 'split()', 'str()', 'indexOf()', etc... Fairly simple to implement, I would think... And you could simply loop your Macro on one Group of Letters (+ Temp File or Clipboard) or one Sentence, for the whole Page, with a Conditional 'SAVEAS' each time you've reached the End of a Phrase, like that you can avoid the fairly complex Concept of the 3 Levels of Nested Loops...
-
Help on TAG or SEARCH
OK, good luck, and I'll be curious to see what you come up with, 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...