--------------------------
iMacros Version 11.0.246.4051
Browser FireFox 42.0
OS Windows 7 Home Premium - Service Pack 1
--------------------------
While Slapping this together... a lot will change... when I have a working starting point; I will edit the first
four posts to be consistant; then I intend on creating a fifth post asking for your suggestions, opinions and improvements... of course if you see something that needs attention, but all means... kindly provide your knownledge.
OVERVIEW
Ok, As a general support and Discussion I would like to create a project that
basically works like the following and I am wondering if it can be done.
I have many reasons for using the !Clipboard.. but the main one is that writing to a file from several firefox profiles/macros instances at a time would result in a file lock.. and the !Clipboard option will not have that issue. Secondly, each of the three iMacros have to loops for different durations, and different amounts/independ times of each loop. Lastly they are way too big to put in one iMacro... hense... the three iMacros.
Note: "I have already setup and configured my FF profiles" using the following:
http://kb.mozillazine.org/Command_line_arguments
That said; this is what I intend to do.
It is just the BATCH and the !CLIPBOARD lesson that I am trying to learn here.
A BATCH FILE THAT DOES THE FOLLOWING:
=====================================
"THE ID COLLECTOR" - Macro (A) running on multi FireFox profiles
Three in this case: (Profile001,Profile002,Profile003)
=============================
(1) Scans a webpage and gets a ID number
(2) Has a hardcoded identification code used as an integrity checker
.... For example 'TRUE001','TRUE002','TRUE003' depending on which browser is sending the Clipboard data.
(3) Copies the Code, and ID to the clipboard
.... For example 'TRUE, 123456789'
(4) Scans !ClipBoard for successful pass.. then gets another ID
----------- END Macro (A) ------------
"THE ID PROCESSOR" - Macro (B) running on FF profile (D)
=============================
(1) Checks the hardcoded identification code used as an integrity checker
(2) Splits the !Clipboard and uses the digits after the comma
.... Examples
Code: Select all
SET TrimmedBefore EVAL("\"{{!EXTRACT}}\".replace(/.+?(?=,),/g, \"\");")
SET TrimmedAfter EVAL("\"{{trimmedValue}}\".replace(/,.*$/g, \"\");")
(4) Writes results to a unusedaccounts.csv file
(5) Sends a successful code depending on which 'TRUE001','TRUE002','TRUE003' was processed
.... !ClipBoard will now store... 'Next001','Next002','Next003' to signal the matching browser to scan next ID.
----------- END Macro (A) ------------
"THE ID TERMINATOR" - Macro (C) running on FF profile (E)
=============================
(1) Reads the unusedaccounts.csv file
(2) does work using ID and lets the webmaster manually choose do delete the
.... unused accounts.
----------- END Macro (A) ------------
So easy to flowchart... but I bet I will run into some very frustrating issues when trying to get from start to finish of this project... join in if your interested.