How to convert imm imacro file to php java to run on web hosting

0 votes

Hii

Please convert it to java/php. Below is example of iim, 

VERSION BUILD=1005 RECORDER=CR
URL GOTO=https://website.com
TAG POS=2 TYPE=SPAN ATTR=TXT:Get<SP>USD
TAG POS=1 TYPE=BUTTON FORM=ID:instant-transfer-form ATTR=TXT:Get<SP>USD
URL GOTO=https://website.com/xyz
TAG POS=2 TYPE=SPAN ATTR=TXT:Get<SP>CENTUS
WAIT SECONDS=10
TAG POS=1 TYPE=BUTTON FORM=ID:instant-transfer-form ATTR=TXT:Get<SP>Centus

Please help me to create script in to js/php,I don't know to create but have idea code run in imacro.

May 13, 2020 in Java by anonymous
• 120 points
2,343 views

1 answer to this question.

0 votes

Hello,

You can try the sample code below:

iimPlay("Test.iim")

When calling a macro inside a Macros folder put "" around the macro and it will play it. Also you can add timer for that macro like this.

iimPlay("Test.iim",60)

This means the macro has maximum 60 seconds to complete.

When playing the macro which is declared as variable inside the .js file then you do it like this

var test;

test ="CODE:";
test +="SET !ERRORIGNORE YES "+"\n";
test +="URL GOTO=www.google.com "+"\n";


iimPlay(test,60)

And that is all you need to do.

Note: This is my sample .iim file name as test. In you case it would be different.

Hope this is helpful!!

Thank You!!

answered May 13, 2020 by Niroj
• 82,880 points

Related Questions In Java

0 votes
1 answer

Is it possible to run a java program from command line on windows?How?

  Let's say your file is in C:\myprogram\ Run ...READ MORE

answered Apr 18, 2018 in Java by sophia
• 1,400 points
2,380 views
0 votes
3 answers

How to convert File to Byte[] in Java?

import java.io.File; import java.nio.file.Files; File file; // ...(file is initialised)... byte[] ...READ MORE

answered Aug 15, 2018 in Java by samarth295
• 2,220 points
1,965 views
0 votes
1 answer

How to run a JAR file in Java?

The command given below will help you ...READ MORE

answered Jun 1, 2018 in Java by Parth
• 4,630 points
7,163 views
0 votes
1 answer

how to read csv file form sftp connection and store into string object in java code and convert into json.....post it using rest api

Hey, @Pooja, Before starting with anything you should ...READ MORE

answered May 13, 2020 in Java by Roshni
• 10,520 points
3,507 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,472 views
0 votes
1 answer

How to run a Java program from the command line on Windows?

Hello @kartik, In case your Java class is ...READ MORE

answered Apr 9, 2020 in Java by Niroj
• 82,880 points
686 views
0 votes
1 answer

How to run a .java file from command line passing arguments in Maven?

Hello @kartik, You could run: mvn exec:exec -Dexec.args="arg1". This will ...READ MORE

answered Jun 3, 2020 in Java by Niroj
• 82,880 points
19,975 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP