Please correct me this script

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Please correct me this script

by ismail3 on Fri Sep 30, 2016 7:50 am

Please correct me this script because it dosn't work correctly
Code: Select all
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 15
SET !EXTRACT_TEST_POPUP NO
SET !REPLAYSPEED FAST
VERSION BUILD=8920312 RECORDER=FX
TAB CLOSEALLOTHERS
TAB T=1
URL GOTO=http://21manga.com/viewforum.php?f=2
TAB OPEN
TAB T=2


URL GOTO=http://www.djelfa.info/vb/archive/index.php/t-19254.html
SET !EXTRACT NULL
WAIT SECONDS=3
TAG POS=1 TYPE=TITLE ATTR=* EXTRACT=TXT
SET !EXTRACT NULL
SET !EXTRACT {{!VAR3}}
SET !CLIPBOARD {{!EXTRACT}}
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:New<SP>Topic
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:postform ATTR=NAME:subject CONTENT={{!CLIPBOARD}}


TAB T=2
TAG POS=1 TYPE=DIV ATTR=CLASS:posttext EXTRACT=TXT
SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\"; s.replace(\"[EXTRACT]\",\"\"); ")
SET !EXTRACT NULL
SET !EXTRACT {{!VAR1}}
SET !CLIPBOARD {{!EXTRACT}}
TAB CLOSE
TAB T=1
TAG POS=1 TYPE=TEXTAREA FORM=NAME:postform ATTR=NAME:message CONTENT=[size=150][b]{{!CLIPBOARD}}[/b][/size]
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:postform ATTR=NAME:post
WAIT SECONDS=3000
ismail3
 
Posts: 1
Joined: Fri Sep 30, 2016 7:46 am

Re: Please correct me this script

by chivracq on Sat Oct 01, 2016 12:46 pm

ismail3 wrote:Please correct me this script because it dosn't work correctly
Code: Select all
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 15
SET !EXTRACT_TEST_POPUP NO
SET !REPLAYSPEED FAST
VERSION BUILD=8920312 RECORDER=FX
TAB CLOSEALLOTHERS
TAB T=1
URL GOTO=http://21manga.com/viewforum.php?f=2
TAB OPEN
TAB T=2


URL GOTO=http://www.djelfa.info/vb/archive/index.php/t-19254.html
SET !EXTRACT NULL
WAIT SECONDS=3
TAG POS=1 TYPE=TITLE ATTR=* EXTRACT=TXT
SET !EXTRACT NULL
SET !EXTRACT {{!VAR3}}
SET !CLIPBOARD {{!EXTRACT}}
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:New<SP>Topic
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:postform ATTR=NAME:subject CONTENT={{!CLIPBOARD}}


TAB T=2
TAG POS=1 TYPE=DIV ATTR=CLASS:posttext EXTRACT=TXT
SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\"; s.replace(\"[EXTRACT]\",\"\"); ")
SET !EXTRACT NULL
SET !EXTRACT {{!VAR1}}
SET !CLIPBOARD {{!EXTRACT}}
TAB CLOSE
TAB T=1
TAG POS=1 TYPE=TEXTAREA FORM=NAME:postform ATTR=NAME:message CONTENT=[size=150][b]{{!CLIPBOARD}}[/b][/size]
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:postform ATTR=NAME:post
WAIT SECONDS=3000

Yep, "at your Service", good luck, ah-ah...! :roll:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6474
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)


Return to Scripting and Command Line Interface

Who is online

Users browsing this forum: No registered users and 5 guests

-->