Questions tagged [imacros]
iMacros is an extension for the Mozilla Firefox, Google Chrome and Internet Explorer web browsers which adds record and replay functionality similar to that found in web testing and form filler software.
1,473
questions
0
votes
1
answer
73
views
Imacros copy and paste from box
im using imacros I want to do a copy from
<div class="captcha-w">43959</div>
then paste it to captcha box (TAG POS=1 TYPE=INPUT:NUMBER ATTR=ID:captcha CONTENT=43959)
TAG POS=2 ...
1
vote
1
answer
33
views
iMacros Not Recording With SalesForce
I'm desperate, so I'm reaching out here in case someone else has come across this issue. I have used iMacros for a few years now as a way to close out mass quantities of support tickets within ...
0
votes
0
answers
56
views
How to open a bookmark using Windows Scheduler? [for iMacros]
I'm using iMacros to record and play a macro.
iMacros records the tasks as bookmarks, and the free version won't allow you to save the task as files in your local system.
I need to be able to schedule ...
1
vote
0
answers
57
views
Getting url after download dialog with iMacro
I'm grabbing a web page has a form inside, and after submitting the form (click on the button) download file dialog, is opened and the file will be downloaded.
In this case, I need only the final ...
0
votes
0
answers
70
views
How to loop in imacro using Current.iim single file?
For example i tried to go to google.com and then search for 1 and 2 and 3 then i want to loop for infinite again but it's not work. How can i do that ?
VERSION BUILD=1011 RECORDER=CR
URL GOTO=...
0
votes
0
answers
35
views
iMacros: Why I have "undefined" value time to time?
I have the iMacros code bellow and I don't understand why sometime, not always {{draft18claim}} receive undefined Value or 0.0.0.2.
the script is made to go to a link once at 2 loops.
SET ...
0
votes
1
answer
208
views
Imacros: how to find TAG position of a submit button?
My html page code looks like below with zero to multiple buttons shown below
<input type="submit" value="Amend" onclick="jQuery('#adjust_item_id').val(1234); setAction(this....
0
votes
0
answers
39
views
iMacros formatting random numbers as currency, does not affect the same field each time
This has me stumped. Running a basic data input macro taking data from a CSV file. I have tried formatting the numbers as both general and numbers in excel. It seems to affect random fields - for ...
0
votes
0
answers
54
views
iMacros: How can I select multiple items in a very basic combo box?
A website I work with has a very basic option box set up and I'm trying to create an iMacro that will select multiple values from it on the screen so that I can manually submit the send button. The ...
0
votes
0
answers
51
views
How to open different links on different tabs and run javascript code on console
i wish someone could help me! i will try to be precise to explain what i want to reach.
Imagine that regularly i will have some websites where i will need to inject some javascript through console, or ...
0
votes
0
answers
69
views
Hyperlink doesn't working in iMacros 2021 but does in iMacros version 12
I've written a macro in iMacros version 12and it works exactly like a user navigating through several pages in a application.
I'm trying to update the macro to work in iMacros version 2021.
The macro ...
0
votes
0
answers
33
views
iMacros: how to extract once every few loops
my script extract once every 60 loops, 1,60,120,180 .. etc
TAG POS=1, so I use made this with EVAL.
but my problem is that {{Datastart}} is empty when no value to extract
My question is how to make {{...
0
votes
1
answer
53
views
iMacros: How to get the DATE with EVAL
can someone to give me an direction on this, please
I need this with EVAL, because .js not supported by Chrome.
I have the {{!EXTRACT}} and EVAL {{Day1}} {{Day2}} {{Day3}} {{Day4}}.. {{Day10}}..{{...
0
votes
0
answers
36
views
iMacros LOOP 10 rows and change account from another csv
Can anywone give an direction on my problem?
I am forced to use Chrome browser, because of limitation of other browsers using iMacros,I think my problem can be solved easily with javascript, but ...
0
votes
0
answers
154
views
iMacros Eval inside a script and Loop not working
I found this solution to open from a batch file the chrome browser and run the Imacros .iim file.
https://wiki.imacros.net/Webextensions#Command_Line_Support
I need help on 2 things
How I need to ...
0
votes
0
answers
112
views
How to use iMacros to add HTML tag values in new line or Edit existing tag
There's a dropdown selection box with multiple preset tag values for user selection. However, I need a tag value with my own range value="30.0 To 70.0">30.0 To 70.0 which is not available....
1
vote
0
answers
92
views
iMacros - Detect {{LOOP}} value number and scrol down the page
I found a solution for what I need, but maybe someone can help me optimize it.
When the {{LOOP}} value have 20 to 40,60,80,100,120,140,160, ... 2000... 10000... etc. or more, I need to Scroll Down the ...
0
votes
0
answers
584
views
Auto-select a value from a drop down list in a Chrome extension
I want to create a Chrome extension but I can't make an automatic selection. How can I select a value from a dropdown in Google Chrome? I can't do it automatically via jQuery and Javascript but it ...
0
votes
1
answer
160
views
How to make the Eval function from Regex code ready for iMacros
I made this Regex code that is working perfect
https://regex101.com/r/ctMO3W/1
const regex = /([A-Z a-z 0-9 ,;&!@#$%^&*()-`~=+ ]*)(?=">)/gu;
// Alternative syntax using RegExp ...
1
vote
2
answers
93
views
How to replace the break with a comma after two words?
I use the following line of code to replace all spaces with commas between words.
SET keyword-virgula EVAL("var spatiu=\"{{Keyword}}\"; spatiu.replace(/ /g,','); ")
How could I ...
0
votes
1
answer
314
views
Extract ALL child div's classes data with iMacros to Excel
Scenario :** DIV with multiple child. I wished to extract all the child data with iMacros into Excel. All my required data is contained in child <tr class="odd", <tr class="even&...
0
votes
0
answers
60
views
iMacros - Extract first words from a phrase
I use the code below in iMacros to extract the first 10 words of a phrase. There are situations when it works 100%, but there are also other situations when some of the extracted words are called &...
0
votes
1
answer
111
views
iMacros - How to Extract the first 100 Characters from a `TAG CONTENT`?
I am using this code in iMacros to extract only the first 100 characters from TAG CONTENT and it's working in 80% of the cases, but sometimes iMacros displays an error message:
"TypeError: Cannot ...
1
vote
1
answer
103
views
iMacros - Change date Format
I have an iMacros script working with data extracted from csv file.
I am trying to change a format date different as is extracted from my csv file.
I need
08-24-2022 to be replaced with Aug 24, ...
0
votes
0
answers
111
views
Problem with popup Error: "-1300 from iMacros
I have this problem when I run a code from imacros. The code is the following:
VERSION BUILD=2021
TAB T=1
TAB CLOSEALLOTHERS
'SET !PLAYBACKDELAY 0.2
URL GOTO=https://matricula.sise.edu.pe/admin/...
0
votes
1
answer
44
views
Change multiple ATTR with same CONTENT
I want to replace the content of multiple input fields with the same content, something like:
ATTR=ID1, ID2, ID3 CONTENT=newContent
0
votes
0
answers
246
views
Access to alien iframe in chrome extensions on the example of imacros and selenium ide
I'm writing a chrome extension and I'm having trouble accessing an iframe. I ended up googling this issue and all I got was "security policy" and why the iframe can't be accessed.
In ...
0
votes
0
answers
232
views
imacros - going back to TAB T=1
Why doesn't this code work in Firefox? Why doesn't it execute the last command and go back to Tab 1 in the end?
iimPlay ("CODE: TAB T=1");
iimPlay ("CODE: TAB OPEN");
iimPlay (&...
0
votes
1
answer
146
views
iMacros - extracting text
Can you explain to me why my EXTRACT doesn't work? I am trying to count the number of users with private profiles in my group (because mostly these are bots). So I need to check whether the string &...
0
votes
0
answers
170
views
How to run two loops by iMacros?
I'm on Firefox 55.0.2 (64-bit), iMacros 9.0.3, Windows10 x64.
I'm trying to get all HREFs from all website pages and fail on two loops.
However, the looping works, but after every founded link, the ...
0
votes
1
answer
703
views
iMacros for Chrome: How to replay Macro if error occurred?
I have this simple 3 line macro to load a form and submit, sometime I get this "RuntimeError: element SPAN specified by TXT:Submit was not found, line: 3" how can I auto replay the macro? I ...
-1
votes
1
answer
324
views
iMacros Infinite Loop
I am trying to create an infinite loop to refresh a slideshow using imacros
Below is my code, but it doesn't loop infinitely.
Any suggestions?
VERSION BUILD=1011 RECORDER=CR
URL GOTO=https://show.zoho....
1
vote
0
answers
388
views
Auto Click a button until a specific text appear in page using iMacros
I'm trying to make an auto-click to a button on a website and do nothing when a specific text appears on the page
Using iMacros, how can I use if a specific text element had the value I wanted so it ...
0
votes
0
answers
364
views
Imacros stops when error occurs from server
I am using imacros chrome extension to automate my work. Imacros opens a link and then fill some values and click on submit button and again loads the link and do the same. Sometimes an error occurs ...
1
vote
1
answer
73
views
Typing out columns vertically imacro Javascript
Specifications:
Firefox 38.0.6, imacros 8.9.7, Windows 10 64-bit OS
What my script does:
My code that I specify here is part that adds a comment on a YouTube
video.
Issue:
I'm trying to make it ...
0
votes
1
answer
153
views
How to set localStorage item with JS and IMACROS?
My code:
SET !VAR2 EVAL ("var title = document.getElementById(\"meta\").innerText; localStorage.setItem(\"title\", title);")
Imacros console output:
TypeError: result is ...
0
votes
1
answer
334
views
Write a confirmation column (CSV) for each loop entry iMacros
I am using an iMacros script to to pull data from a csv (col1) and run some steps based on the info in col1.
Because I am running the script hundreds of times once (loop) and sometimes the script ...
0
votes
0
answers
414
views
How to insert from clipboard to input with IMACROS?
My code:
SET !VAR1 {{!CLIPBOARD}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:champ ATTR=ID:url CONTENT={{!VAR1}}
Nothing appears in input, but if i set VAR1 with some string the insertion is correct
...
0
votes
1
answer
437
views
Picking data from Excel CSV using iMacros
I want to automate the submission of deleted pages in Google Search Console for a website that I manage.
That's what I wrote in iMacros for Chrome (I've replaced my-domain.name.com and my-file.csv ...
0
votes
0
answers
46
views
Selecting checkbox nested in <td>
I am trying to the following with IMACROS :
'Check' the check box inside of the below <td> BASED on the target="940" attribute in the <span> tag.
I tried :
TAG POS=1 TYPE=INPUT:...
-1
votes
1
answer
91
views
can imacros fetch code from raw pastebin?
how to make the code in pastebin read in imacros
src="https://pastebin.com/raw/bdyhnk7s"
I've tried using this and some other sources but it still fails, can imacros javascript not run ...
-1
votes
1
answer
255
views
import full .txt with SET !DATASOURCE not only certain line on imacros
I am trying to use the command
SET !DATASOURCE
to import the whole text from ".txt" file into some textbox
but I cannot find the exact command that would let me import/copy
the whole ...
0
votes
1
answer
113
views
how to get the last data using imacros?
i want to get data from elements using imacros
but I want to take the last elements
TAG POS=1 TYPE=div ATTR=class:"message-text-box" extract=txt
TAG POS=1 is the top element
I can't count ...
0
votes
0
answers
64
views
How to remove Elements using iMacros?
I want to display only the elements that are needed
my code is not working
remove();
function remove() {
var target = window.document.querySelectorAll('a[href="/*-i.*.*?position=*&...
2
votes
0
answers
58
views
how to make 3 columns using imacros?
I'm trying to retrieve the data of a web table with macros
but the result is not as expected
because the result is one column
How to code to make it into 3 columns ?
this is my code
for ( x = 1; x &...
0
votes
1
answer
554
views
How can I save all href values from list items to a text file with iMacros?
I am a newbie to imacros but have version 12.0.501.6698 installed Windows 10 Pro 20H2 - OS Build 19042.1110 .
I am trying to extract from the html of a page all the href values located in multiple ...
0
votes
0
answers
213
views
extract and use a countdown with imacro
iMacros for CR v10.1.1, 'Free', CR90/91, macOS
basically am trying to automate a process as efficient as possible
this is the inefficient version
SET !ERRORIGNORE YES
WAIT SECONDS=6
TAG POS=1 TYPE=A ...
0
votes
0
answers
992
views
How to load fingerprinting js asynchronously and get visitor id
I'm using javascript scripting with a legacy version of iMacros (v8.9.7)
And I'm a bit confused about getting fingerprinting JS to work properly.
My use case :
1- load fingerprintingJS from CDN ...
0
votes
2
answers
198
views
Imacros Regex - Isolate name and surname
I am struggling for quite a while now.
I am extracting text from a Website using Imacros with this result :
Niklaus Hasling
There are whitespaces ...
0
votes
1
answer
70
views
I want to use Imacro to change all database 'user types' for my company
IMACROS: VERSION BUILD=1010 RECORDER=CR Free version
Windows 10 English
Chrome: Version 90.0.4430.85 (Official Build) (64-bit)
I have close to 7500 'users' in my database. I need to change one, then ...