Error Code 910 Imacros
Contents |
2008 phpBB.fr
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Jr-err 1000 Text File Cannot Be Loaded
Discuss the workings and policies of this site About Us Learn more imacros timeout about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack imacros if then Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping http://forum.imacros.net/viewtopic.php?f=11&t=12863 each other. Join them; it only takes a minute: Sign up Error while starting my script, SyntaxError: unknown command: VAR, line: 1 (Error code: -910) up vote 0 down vote favorite I'm new to Imacros, I know how to use it very well but I'm new to coding so It's my first script. I'm gettig this error http://stackoverflow.com/questions/20864674/error-while-starting-my-script-syntaxerror-unknown-command-var-line-1-erro while starting it. SyntaxError: unknown command: VAR, line: 1 (Error code: -910) Heere is the codes. var macroStart; macroStart ="CODE:"; macroStart +="SET !ERRORIGNORE YES" + "\n"; macroStart +="SET !TIMEOUT_TAG 1" + ="\n"; macroStart +="SET !TIMEOUT_STEP 1" + "\n"; macroStart +="SET !TIMEOUT_PAGE 8" + "\n"; macroStart +="SET !REPLAYSPEED FAST" + "\n"; macroStart +="SET !TIMEOUT_MACRO 8" + "\n"; macroStart +="TAB T=1" + "\n"; macroStart +="WAIT SECONDS=1" + "\n"; macroStart +="TAG POST=1 TYPE=A ATTR=TXT:LIKE" + "\n"; macroStart +="TAB T=2" + "\n"; macroStart += " FRAME F=0" + "\n"; macroStart += "TAG POST=1 TYPE=LABEL ATTR=ID;timelineHeadlineLikeButton" + "\n"; macroStart += "TAB T=2" + "\n"; macroStart += "WAIT SECONDS=1" + "\n"; macroStart += "TAB T=1" macroStart += "TAB CLOSEALLOTHERS" + "n"\ macroStart +="WAIT SECONDS=1" + "\n"; macroStart += "TAG POS=1 TYPE=A ATTR=TXT:Like" + "\n"; macroStart += "TAB T-2" + "\n"; macroStart += "FRAME F=0" + "\n"; macroStart += "TAG POST=1 TYPE=LABEL ATTR=ID;timelineHeadlineLikeButton" + "\n"; macroStart += "TAB T=1" + "\n"; macroStart += "TAB CLOSEALLOTHERS" + "n"\ macroStart += "WAIT SECONDS=1" + "n"\ macroStart += "VERSION BUILD=8300326 RECORDER
Discussion in 'Black Hat SEO' started by Kontroller, Jul 8, 2011. http://www.blackhatworld.com/seo/basic-imacros-problem.327049/ Jul 8, 2011 #1 Kontroller Newbie Joined: Jul 5, 2011 Messages: 29 Likes Received: 0 I say basic, but it is something I personally am having difficulty with. http://dzlys.com/Techqssoys/questions/39579588/macrosyntaxerror-wrong-format-of-set-command-line-21-error-code-910 I have a txt file with loads of comma seperated values. I want iMacros to visit a site with the extension changing, being the next value in the on error text file each time. Example; imagine the text file is "1,2,3,4,5,6,7..." I want iMacros to go a said website, followed by a slash and then the 1, and then again followed by the 2 etc. I could post an example very easily but it keeps being blocked. Can someone advise me as to how about I could error code 910 do this, if the method I am trying works I will happily share it afterwards. Thanks Advertise on BHW Jul 8, 2011 #2 GrizzlyAdams Regular Member Joined: Feb 17, 2011 Messages: 479 Likes Received: 405 Occupation: Freelancer Location: British Columbia Seperate the values like this in your text file. value 1 value 2 value 3Click to expand... Then use this code. CMDLINE !DATASOURCE C:\file.csv SET !DATASOURCE_COLUMNS 1 SET !LOOP 1 SET !DATASOURCE_LINE {{!LOOP}} URL GOTO=http://www.website-you-want-to-go-to.com/{{!COL1}}/example.phpClick to expand... Now when you run that code on a loop it will go to each like so: http://www.website.com/value1/example.php http://www.website.com/value2/example.php http://www.website.com/value3/example.php Thanks x 3 Jul 8, 2011 #3 Kontroller Newbie Joined: Jul 5, 2011 Messages: 29 Likes Received: 0 Exactly what I wanted, thanks. Jul 8, 2011 #4 JackSparrow Supreme Member Joined: Mar 24, 2007 Messages: 1,469 Likes Received: 2,052 Occupation: Semi-Employed Pirate Location: search 4 blackhatsparrow Home Page: http://blackhatsparrow.com/ Great advice there GrizzlyAdams (great username LOL), that's exactly how i'd of done it. Thanks x 1 J
App Store Read this post in our app! up vote 0 down vote favorite MacroSyntaxError: wrong format of SET command, line 21 (Error code: -910) imacros This is part of a code I am working on. I am trying to isolate numbers only including decimals from a the sentence " Minimal bid amount is $4.5" WAIT SECONDS={{!VAR1}} EVENT TYPE=KEYPRESS SELECTOR="#id_bid" CHAR="1" EVENT TYPE=KEYPRESS SELECTOR="#id_bid" KEY=13 TAG POS=1 TYPE=LABEL FORM=ID:id_order_bidding_form ATTR=ID:id_bid-error* EXTRACT=txt SET !VAR2 EVAL("var s=\"{{!EXTRACT}}\";var res = Number(s .replace(/[^0-9\.]+/g, ''); res;") EVENT TYPE=CLICK SELECTOR="#id_bid" BUTTON=0 EVENT TYPE=KEYPRESS SELECTOR="#id_bid" KEY=8 EVENT TYPE=KEYPRESS SELECTOR="#id_bid" CHAR="{{!VAR2}}" EVENT TYPE=KEYPRESS SELECTOR="#id_bid" KEY=13 share improve this question asked Sep 19 at 18:12 Kelvin Kitika 1 add a comment| 1 Answer order by active oldest votes up vote 0 down vote Try the following SET command: SET !VAR2 EVAL("'{{!EXTRACT}}'.match(/\d+\.\d+/);") share improve this answer answered Sep 20 at 7:07 Shugar 2,779●1●2●8 add a comment| Your Answer Body Image Add picture Upload Cancel Add picture Click here to upload your image (max 2mb) Cancel and add another image You can also provide a link from the web. Cancel Log in or Name Email By posting your answer, you agree to the privacy policy and terms of service. meta chat tour help blog privacy policy legal contact us full site Download the Stack Exchange Android app Download the Stack Exchange iOS app 2016 Stack Exchange, Inc