
IMacros Expert Wanted
- or -
Post a project like this4703
$$
- Posted:
- Proposals: 1
- Remote
- #294428
- Awarded
Description
Experience Level: Intermediate
Hello,
I'm looking for someone with a lot of experience with iMacros for Firefox.
I have a macro that I have created that repeats a block of code 19-20 times per page because it needs to send an email to each person on the page. When an email has been sent the button "Send Email" disappears.
I would like my macro improved, so that if it has already sent all emails and there are no more "Send Email" buttons on the page that it should stop looking for it, click the "Next Page" button, and continue there.
At the moment, it either stops running and gives me an error message (if I remove the SET !ERRORIGNORE YES) or it keeps running the code looking for the "Send Email" button and inadvertantly sending duplicate messages to some of the people even though they have already been emailed.
So I need someone who has good experience with error handling, and also using javascript within iMacros.
Please see a subsection of the macro below.
----
VERSION BUILD=8300326 RECORDER=FX
TAB T=1
SET !VAR0 "This is the text that gets pasted into every email that the macro sends!"
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
WAIT SECONDS=1
TAG POS=1 TYPE=SELECT FORM=NAME:send-msg ATTR=ID:ddlSubject CONTENT=%I’minterestedinyourad
TAG POS=1 TYPE=TEXTAREA FORM=NAME:send-msg ATTR=ID:txtContent CONTENT={{!VAR0}}
TAG POS=1 TYPE=SPAN ATTR=ID:send_email_btn
WAIT SECONDS=8
TAG POS=1 TYPE=A ATTR=ID:email_sent_btn
WAIT SECONDS=2
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
WAIT SECONDS=1
TAG POS=1 TYPE=SELECT FORM=NAME:send-msg ATTR=ID:ddlSubject CONTENT=%I’minterestedinyourad
TAG POS=1 TYPE=TEXTAREA FORM=NAME:send-msg ATTR=ID:txtContent CONTENT={{!VAR0}}
TAG POS=1 TYPE=SPAN ATTR=ID:send_email_btn
WAIT SECONDS=8
TAG POS=1 TYPE=A ATTR=ID:email_sent_btn
WAIT SECONDS=2
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
WAIT SECONDS=3
TAG POS=1 TYPE=SPAN ATTR=CLASS:erm-iconerm-icon-pagination-rarrow&&TXT:
WAIT SECONDS=10
I'm looking for someone with a lot of experience with iMacros for Firefox.
I have a macro that I have created that repeats a block of code 19-20 times per page because it needs to send an email to each person on the page. When an email has been sent the button "Send Email" disappears.
I would like my macro improved, so that if it has already sent all emails and there are no more "Send Email" buttons on the page that it should stop looking for it, click the "Next Page" button, and continue there.
At the moment, it either stops running and gives me an error message (if I remove the SET !ERRORIGNORE YES) or it keeps running the code looking for the "Send Email" button and inadvertantly sending duplicate messages to some of the people even though they have already been emailed.
So I need someone who has good experience with error handling, and also using javascript within iMacros.
Please see a subsection of the macro below.
----
VERSION BUILD=8300326 RECORDER=FX
TAB T=1
SET !VAR0 "This is the text that gets pasted into every email that the macro sends!"
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
WAIT SECONDS=1
TAG POS=1 TYPE=SELECT FORM=NAME:send-msg ATTR=ID:ddlSubject CONTENT=%I’minterestedinyourad
TAG POS=1 TYPE=TEXTAREA FORM=NAME:send-msg ATTR=ID:txtContent CONTENT={{!VAR0}}
TAG POS=1 TYPE=SPAN ATTR=ID:send_email_btn
WAIT SECONDS=8
TAG POS=1 TYPE=A ATTR=ID:email_sent_btn
WAIT SECONDS=2
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
WAIT SECONDS=1
TAG POS=1 TYPE=SELECT FORM=NAME:send-msg ATTR=ID:ddlSubject CONTENT=%I’minterestedinyourad
TAG POS=1 TYPE=TEXTAREA FORM=NAME:send-msg ATTR=ID:txtContent CONTENT={{!VAR0}}
TAG POS=1 TYPE=SPAN ATTR=ID:send_email_btn
WAIT SECONDS=8
TAG POS=1 TYPE=A ATTR=ID:email_sent_btn
WAIT SECONDS=2
TAG POS=1 TYPE=SPAN ATTR=TXT:SendEmail
WAIT SECONDS=3
TAG POS=1 TYPE=SPAN ATTR=CLASS:erm-iconerm-icon-pagination-rarrow&&TXT:
WAIT SECONDS=10
Leanne M.
100% (10)Projects Completed
19
Freelancers worked with
19
Projects awarded
40%
Last project
25 Aug 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies