can't access dead object, imacros - imacros

Im getting the following error with imacros
URL GOTO=http://www.tblog.com/blog_admin/addpost.php?view=full
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:post_form ATTR=NAME:ititle CONTENT={{!VAR1}}
TAG POS=1 TYPE=IMG ATTR=ID:mce_editor_0_code
TAB T=2
FRAME F=0
TAG POS=1 TYPE=TEXTAREA FORM=NAME:source ATTR=ID:htmlSource CONTENT={{!VAR8}}
TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:source ATTR=ID:insert
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:post_form ATTR=NAME:publish&&VALUE:Publish<SP>This<SP>Post!
TypeError: can't access dead object, line: 9 (Error code: -1001)
If somebody can help here are some logging details
account:lugartecnologico52
paswword:1234
The site is tblog.com

We need to open a blank tab to address this error.
steps to follow
Open a tab
Add these commands
Tab T=2
Tab T=1
Run the macro
Let me know in case of any queries

Related

iMacros: Script pastes the Text "CONTENT={{!CLIPBOARD}}" rather than the actual Clipboard Content?

I am trying to get iMacros for Firefox (v10.0.2) to copy/paste data, the copying side is working (as confirmed by iMacros pop-ups) but when pasting instead of pasting the Clipboard content, it's actually pasting "CONTENT={{!CLIPBOARD}}" (without the quotation marks).
This is my Script...:
FRAME F=0
TAG POS=1 TYPE=SPAN ATTR=ID:resultsdivsml EXTRACT=TXT
TAB T=1
FRAME F=12
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:msku-custom-option-input CONTENT={{!CLIPBOARD}}
TAG POS=1 TYPE=A ATTR=ID:msku-custom-option-add
My Config Info:
iMacros version = 10.0.2.1450
Firefox version = 70.0.1 (64bit)
Win 10 (64bit)
Any help greatly appreciated.
Good Quality for your Qt, this is pretty "rare" on this Forum for 'iMacros' Qt's... (+1 from me...)
Like mentioned/explained in your parallel Thread on the iMacros Forum:
https://forum.imacros.net/viewtopic.php?f=11&t=30705&p=84161#p84154
=> I think you are hitting a Bug actually, but that's not "really" the Functionality that you want...
(The Thread on the iMacros Forum contains more Info, I'm only posting a "simplified"/shortened Answer on this Forum...)
In order to paste the Content of the 'EXTRACT', you need to use the '{{!EXTRACT}}' Command (and not '{{!CLIPBOARD}}' like you are currently doing)...
And if you do several 'C&P' in your Script, you each time need to reset the '!EXTRACT' Built-in Var before each 'EXTRACT':
VERSION BUILD=10021450
FRAME F=12
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=A ATTR=ID:msku-attribute-add
TAG POS=1 TYPE=INPUT:CHECKBOX ATTR=ID:msku-own-parent-tag-checkbox CONTENT=YES
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:msku-custom-parent-attribute-input CONTENT=Sticker<SP>Size
TAG POS=1 TYPE=BUTTON ATTR=ID:msku-add-parent-tag-btn
TAG POS=1 TYPE=A ATTR=ID:msku-custom-option-link
TAB T=2
FRAME F=0
SET !EXTRACT NULL
TAG POS=1 TYPE=SPAN ATTR=ID:resultsdivsml EXTRACT=TXT
TAB T=1
FRAME F=12
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:msku-custom-option-input CONTENT={{!EXTRACT}}
TAG POS=1 TYPE=A ATTR=ID:msku-custom-option-add
TAB T=2
FRAME F=0
SET !EXTRACT NULL
TAG POS=1 TYPE=SPAN ATTR=ID:resultsdivstd EXTRACT=TXT
TAB T=1
FRAME F=12
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:msku-custom-option-input CONTENT={{!EXTRACT}}
TAG POS=1 TYPE=A ATTR=ID:msku-custom-option-add
... etc...
Grrr..., and this Site is Buggy again, the Toolbar with all Formatting Icons (Bold/Italic/Code/etc...) has now kind of disappeared and is just Blank...! (PM v26.3.3) => I have to use a different Browser (FF v55.0.3) to be able to post this Answer...

iMacro - Firefox - OnDownload not working?

I'm using the last version of iMacro and of Firefox.
I'm trying to run it so it downloads a .csv into a specific folder on a different drive that's on the network which it does have access to, the machine that is.
However, every time I see to download it, it does it in the default folder.
Now I did change the download folder but, since I need iMacro to also rename it it just won't cut it exactly.
Here's the code. Now I know I inserted a comment in there, I was playing around to make it work.
Thank you.
VERSION BUILD=8890130 RECORDER=FX
TAB T=1
URL GOTO=WEBSITE
FRAME F=1
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:username CONTENT=USERNAME
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD ATTR=NAME:password CONTENT=PASSWORD
TAG POS=1 TYPE=BUTTON ATTR=TXT:LOG<SP>IN
URL GOTO=WEBSITE
WAIT SECONDS=15
TAG POS=1 TYPE=DIV ATTR=ID:ext-gen1194
TAG POS=1 TYPE=A ATTR=TXT:Today
TAG POS=1 TYPE=SPAN ATTR=ID:button-1030-btnInnerEl
WAIT SECONDS=10
ONDOWNLOAD FOLDER=* FILE=+_{{!NOW:yyyymmdd}}.csv WAIT=YES
'ONDOWNLOAD FOLDER="\\\\DifferentServer\\path\\path\\path\\path\\path\\" FILE=+{{!NOW:yyyymmdd}}.csv WAIT=YES
WAIT SECONDS=10
TAG POS=1 TYPE=SPAN ATTR=ID:button-1055-btnIconEl
WAIT SECONDS=10
TAB CLOSEALLOTHERS
TAB T=1
TAB CLOSE

imacro search for word in button and click it

I have this with imacro
VERSION BUILD=8920312 RECORDER=FX
TAB T=1
URL GOTO=http://mycoinads.com/surfbtc.php?btcaddress=19f83eqk1GpgjtTjQeMEEwMrgZtUn29a7S
SET !TIMEOUT_STEP 35
TAG POS=2 TYPE=SPAN ATTR=TXT:*<SP>Click<SP>here<SP>to
SET !TIMEOUT_STEP 10
TAG POS=1 TYPE=A ATTR=TXT:click<SP>here<SP>for<SP>the<SP>next<SP>ad
SET !TIMEOUT_STEP 35
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:collectcredits.php?ad=1624&btcaddress=19f83eqk1GpgjtTjQeMEEwMrgZtUn29a7S&hash=6260c98d8333bbb582fa738a46d62d62&id= ATTR=*
SET !TIMEOUT_STEP 10
TAG POS=1 TYPE=A ATTR=TXT:click<SP>here<SP>for<SP>the<SP>next<SP>ad
But when it needs to press the button Click here to it gives this error
RuntimeError:
element SPAN specified by TXT:*Clickhereto was not found, line 5 (Error code: -921)
Hope someone can help
So that it find the text and clicks it
TAG POS=1 TYPE=* ATTR=TXT:"Your text here"
Try here.

how to write .iim file for imacros

VERSION BUILD=6060703 RECORDER=CR
URL GOTO=URL
TAG POS=1 TYPE=INPUT:BUTTON ATTR=*
WAIT SECONDS=6
This is the code I'm using for .iim file to click on a button on a website. But I couldn't understand what this code is and what are those tag pos and button attr. When I run this code there's an error like this.
RuntimeError: element INPUT specified by * was not found, line: 3
What is this error and how to tackle it. Please help.
TAG POS=1 TYPE=INPUT:BUTTON ATTR=*
This is a button that submits something. Find that button on web page. Right click on it and select "Inspect Element". Then you will see HTML code of that button.
If it has property name="somename" or id="someid" then you will put
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:somename
TAG POS=1 TYPE=INPUT:BUTTON ATTR=ID:someid

iMacros ondialog conditional statement

I'm trying to make iMacros send me an email, if after login I get a dialog. In this
case its a warning that I should update my password before it expires.
I would like some output to php that I can use to send the email. I'm presently able to get getLastExtract but nothing in the returned array mentions the dialog in any way.
This is the script so far:
CODE: SET !REPLAYSPEED FAST
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=[URL]
SET !EXTRACTDIALOG YES
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:adminLogin ATTR=ID:username CONTENT=[username]
SET !ENCRYPTION NO
ONDIALOG POS=1 BUTTON=NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:adminLogin ATTR=ID:password CONTENT=[password]
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:adminLogin ATTR=VALUE:Login