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 12 in Java by anonymous
• 120 points
132 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 by Niroj
• 23,950 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
606 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 14, 2018 in Java by samarth295
• 2,190 points
267 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,640 points
2,686 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 12 in Java by Roshni
• 600 points
115 views
0 votes
1 answer
0 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
• 57,530 points
542 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 in Java by Niroj
• 23,950 points
72 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 3 days ago in Java by Niroj
• 23,950 points
37 views