Convert iMacros Code to JavaScript DOM

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
techimac
Posts: 482
Joined: Fri Feb 20, 2015 9:27 pm

Convert iMacros Code to JavaScript DOM

Post by techimac » Tue Feb 09, 2021 5:21 pm

FRAME F=2
EVENT TYPE=MOUSEDOWN SELECTOR="#slideBlock" BUTTON=0


Please convert to javascript DOM

I tried but its not finding the element.

var frames = window.frames;
var x = frames[1].document.getElementById("slideBlock");
Available for custom iim, javascript iMacros scripts
Goldclownfish
Posts: 18
Joined: Mon Apr 29, 2019 3:50 am

Re: Convert iMacros Code to JavaScript DOM

Post by Goldclownfish » Fri Feb 12, 2021 1:40 am

techimac
Posts: 482
Joined: Fri Feb 20, 2015 9:27 pm

Re: Convert iMacros Code to JavaScript DOM

Post by techimac » Fri Feb 12, 2021 5:42 am

you know?
Last edited by techimac on Fri Feb 12, 2021 2:00 pm, edited 1 time in total.
Available for custom iim, javascript iMacros scripts
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Convert iMacros Code to JavaScript DOM

Post by chivracq » Fri Feb 12, 2021 9:45 am

techimac wrote:
Tue Feb 09, 2021 5:21 pm

Code: Select all

FRAME F=2
EVENT TYPE=MOUSEDOWN SELECTOR="#slideBlock" BUTTON=0

Please convert to javascript DOM

I tried but its not finding the element.

Code: Select all

var frames = window.frames;
var x = frames[1].document.getElementById("slideBlock");
>>>
Goldclownfish wrote:
Fri Feb 12, 2021 1:40 am
viewtopic.php?f=20&t=3331
>>>
techimac wrote:
Fri Feb 12, 2021 5:42 am
Palemoon 28
Windows 8.1
iMacros 8.9.7
>>>

Ah-ah-ah...!, LOL...! :lol: 8) :wink: :twisted:

Nice "Catch" @Goldclownfish...!, but tja...!, I already asked @OP dozens and dozens of times (they have more than 100 Threads on the Forum) to mention their FCI but they keep "forgetting" each time, so I kind of gave up with them, ... a few years ago already... :wink:
- (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...
Post Reply