Hi people,
So, i have a question, how to open a imagem link on new TAB ( Tab=2 ) ?
Thank you.
How to open a image on New TAB
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
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
-
- Posts: 2
- Joined: Fri Oct 06, 2017 2:16 pm
-
- Posts: 69
- Joined: Wed Dec 20, 2017 10:00 am
- Location: New Delhi, India
- Contact:
Re: How to open a image on New TAB
You can copy the HREF attribute of the image and then open a new tab. Use URL GOTO= to open that image as follows.
This should probably do the trick!
Code: Select all
var code="CODE:";
code+="TAG POS=1 TYPE=IMG ATTR=* EXTRACT=HREF\n"; // This gets the link attribute of the image.
code+="TAB OPEN\n"; // Open a new Tab
code+="TAB T=2\n"; // Go to that tab
code+="URL GOTO={{!EXTRACT}}"; // Open the URL of the image
iimPlay(code);
Robust iMacros development with quick turnaround time. Drop an email at "access2content@gmail.com" with your project details.