I have a question regarding the default maximum loop value. By default, iMacros sets the maximum loop value to 3, and I often need to change it manually to a higher value like 50 for my tasks. It becomes a bit cumbersome to do this every time I launch iMacros. Is there a way to permanently change the default maximum loop value to 50 or another value of my choice?
I've checked the settings within the iMacros extension for my browser Chrome, but I couldn't find an option to set a custom default loop value. If any of you have come across a solution or workaround for this issue, I'd greatly appreciate your insights. It would be a time-saver for me, and I'm sure it could benefit others in the community as well.
Is it possible to change the Default Maximum Loop Value in iMacros?
Forum rules
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
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: 33
- Joined: Mon Oct 10, 2022 11:09 am
Is it possible to change the Default Maximum Loop Value in iMacros?
Last edited by chivracq on Sat Sep 30, 2023 6:09 pm, edited 1 time in total.
Reason: Title edited (by Mod) to remove a few unneeded Capitals (for Readability).
Reason: Title edited (by Mod) to remove a few unneeded Capitals (for Readability).
Re: Is it possible to change the Default Maximum Loop Value in iMacros?
Not possible
Available for custom iim, javascript iMacros scripts
Re: Is it possible to change the Default Maximum Loop Value in iMacros?
carolinokim wrote: ↑Fri Sep 29, 2023 11:39 pmI have a question regarding the default maximum loop value. By default, iMacros sets the maximum loop value to 3, and I often need to change it manually to a higher value like 50 for my tasks. It becomes a bit cumbersome to do this every time I launch iMacros. Is there a way to permanently change the default maximum loop value to 50 or another value of my choice?
I've checked the settings within the iMacros extension for my browser Chrome, but I couldn't find an option to set a custom default loop value. If any of you have come across a solution or workaround for this issue, I'd greatly appreciate your insights. It would be a time-saver for me, and I'm sure it could benefit others in the community as well.
FCIM...!

=> Only Chrome Browser mentioned, you should know I don't answer when FCI is not mentioned...!

I had edited your OP (the Title) to make it a bit more readable...
>>>
Yeah..., that's "technically"/"officially" the correct Answer...!

But...!



=> Module you need to edit/customize is 'MacroPlayer.js' (I think, from memory, I didn't test again for this Thread), located in '[\_Decompiling\iMacros for FF v8.9.7]\{81BF1D23-5F17-408D-AC6B-BD6DF7CAF670}\chrome\imacros\content', =>'\chrome\imacros\content' for CR also, I would think...
(A '.crx' File (for CR) is just like an '.xpi' File for FF...)
>>>
There is also a 2nd Method for specifying the 'Max Loop' Value, maybe easier, but per Macro, by using a Negative Nb for `SET LOOP -448` for example, if you want to loop your Macro 450 times.

(And you need to use the 'Play' Button, not the 'Play Loop/Repeat' one...!

It relies on a Bug and I've never "advertised" it, as I was "afraid" it would "one day" get "fixed" in some "next Release", (but it still works in v10.1.0 for FF + v10.1.1 for CR, it even bypasses the Max=100 Limit for the 'Free' Versions...!




- (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...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
-
- Posts: 33
- Joined: Mon Oct 10, 2022 11:09 am
Re: Is it possible to change the Default Maximum Loop Value in iMacros?
I don't see 'MacroPlayer.js' in C:\Program Files\Progress\iMacros\jre\lib\deploy\ffjcext.zip\{XXXXXX}\chrome\content\ffjcext only ffjcext.js i tried finding the maxLoop but there is no as well.
I also tried finding in browser extension directory \User Data\Profile 1\Extensions\cplklnmnlbnpmjogncfgfijoopmnlemp\10.1.1_0 there's a lot of '.js' file but nothing contains maxLoop. There's one which is bg.js but didn't change the default.
I also tried adding `SET LOOP -448` in beginning of my script then 'PLAY' it but it only play once. Is there anything need to add to script? I am using CSV for loop
Thank you for guiding. I really appreciated it!
I also tried finding in browser extension directory \User Data\Profile 1\Extensions\cplklnmnlbnpmjogncfgfijoopmnlemp\10.1.1_0 there's a lot of '.js' file but nothing contains maxLoop. There's one which is bg.js but didn't change the default.
I also tried adding `SET LOOP -448` in beginning of my script then 'PLAY' it but it only play once. Is there anything need to add to script? I am using CSV for loop
Thank you for guiding. I really appreciated it!